[Python-Dev] inspect() and dir()

Ethan Furman ethan at stoneleaf.us
Sun Oct 13 00:46:29 CEST 2013


On 10/10/2013 02:25 AM, Nick Coghlan wrote:
> On 10 Oct 2013 14:32, "Ethan Furman" wrote:
>>
>> That makes sense.
>>
>> So what should the new functions be called?  get_all_members and classify_all_class_attrs ?
>
> Yeah, those work for me. The only way they should miss anything is if attribute lookup is customised to offer extra
> dynamic attributes without implementing custom dir support.


http://bugs.python.org/issue19239


More information about the Python-Dev mailing list