This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Patitotective, serhiy.storchaka
Date 2021-09-27.11:45:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632743115.53.0.957215317032.issue45288@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-09-27 11:45:15serhiy.storchakasetrecipients: + serhiy.storchaka, Patitotective
2021-09-27 11:45:15serhiy.storchakasetmessageid: <1632743115.53.0.957215317032.issue45288@roundup.psfhosted.org>
2021-09-27 11:45:15serhiy.storchakalinkissue45288 messages
2021-09-27 11:45:15serhiy.storchakacreate