Message11326
As discovered in https://github.com/pypa/setuptools/issues/1024#issuecomment-297586140, invoking inspect.getmro on a class whose bases include two or more classes with the same __name__ will return only the first one encountered. This script demonstrates the issue:
class OtherNamespace:
class Y:
pass
class Y:
pass
class Z(OtherNamespace.Y, Y):
pass
import inspect
print(inspect.getmro(Z)) |
|
Date |
User |
Action |
Args |
2017-04-27 01:38:07 | jaraco | set | recipients:
+ jaraco |
2017-04-27 01:38:07 | jaraco | set | messageid: <1493257087.64.0.244650262545.issue2581@psf.upfronthosting.co.za> |
2017-04-27 01:38:07 | jaraco | link | issue2581 messages |
2017-04-27 01:38:06 | jaraco | create | |
|