Message402700
It depends on what you want to get. In general, it is difficult if interpret your request literally. For example, if you define class A in module a, class B in module b, and class C which inherits from classes A and B in module c, then what members of C are defined first: inherited from A or inherited from B? Oh, and some members can be defined in a metaclass of A, B or C. And what order of members inherited from the object class or other builtin classes? And what to do with members excluded from __dir__()? And dynamic members provided by __getattr__() or __getattribute__()? You need to specify in more detail what you want to get a meaningful answer. It may be that you actually do not need all these details and can just look in type's dicts in the mro order. |
|
Date |
User |
Action |
Args |
2021-09-27 11:45:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, Patitotective |
2021-09-27 11:45:15 | serhiy.storchaka | set | messageid: <1632743115.53.0.957215317032.issue45288@roundup.psfhosted.org> |
2021-09-27 11:45:15 | serhiy.storchaka | link | issue45288 messages |
2021-09-27 11:45:15 | serhiy.storchaka | create | |
|