[New-bugs-announce] [issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

Ethan Furman ethan at stoneleaf.us
Sun Oct 13 00:39:34 CEST 2013


Sorry, finger hit <enter> too soon.

Here's the text:

Currently we have

   - inspect.getmembers
   - inspect.classify_class_attrs

But they only return what dir() returns.

It is proposed that we add

   - inspect.get_all_members
   - inspect.classify_all_class_attrs

which will look at all the attributes returned by both the original dir() and the overridden dir().


More information about the New-bugs-announce mailing list