diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2017-07-08 14:19:32 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2017-07-08 14:19:32 +0300 |
commit | d3d49a6d249c0d911ee09816613a1e15607a2a7c (patch) | |
tree | 0006403a4e75ba13d88b97ccb79a59da84d20aa1 /astroid/inference.py | |
parent | 573b900773d249fbb2858c1a19db3f1434abbd42 (diff) | |
download | astroid-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