[issue16938] pydoc confused by __dir__

Ethan Furman report at bugs.python.org
Fri Oct 18 09:39:31 CEST 2013


Ethan Furman added the comment:

This has been fixed in #19030: every good object will have a home class; non-good objects (the result of buggy __dir__, __getattribute__, or __getattr__ methods) will not be returned and so cannot confuse pydoc.

----------
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
superseder:  -> inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16938>
_______________________________________


More information about the Python-bugs-list mailing list