summaryrefslogtreecommitdiff
path: root/astroid/inference.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2017-07-08 14:19:32 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2017-07-08 14:19:32 +0300
commitd3d49a6d249c0d911ee09816613a1e15607a2a7c (patch)
tree0006403a4e75ba13d88b97ccb79a59da84d20aa1 /astroid/inference.py
parent573b900773d249fbb2858c1a19db3f1434abbd42 (diff)
downloadastroid-git-d3d49a6d249c0d911ee09816613a1e15607a2a7c.tar.gz
Don't raise DuplicateBaseError when classes at different locations are used
For instance, one can implement a namedtuple base class, which gets reused on a class with the same name later on in the file. Until now, we considered these two classes as being the same, because they shared the name, but in fact they are different, being created at different locations and through different means. Close PyCQA/pylint#1458
Diffstat (limited to 'astroid/inference.py')
0 files changed, 0 insertions, 0 deletions