pylint maintainer here. It seems the issue require investigation and can’t be answered swiftly (it seems you already investigated yourself and identified an issue in astroid). For question about pylint the best/official place is pylint’s bug-tracker here: Issues · pylint-dev/pylint · GitHub. Would you mind opening an issue so your question is tracked ?