[issue16938] pydoc confused by __dir__

Ethan Furman report at bugs.python.org
Fri Sep 6 22:55:11 CEST 2013


Ethan Furman added the comment:

"Crash" is probably too strong.  help() runs, but doesn't return anything useful.

Metaclasses aside, I think the real issue here is objects that don't have __objclass__ defined.  __objclass__ has been around for over a decade (see PEP-0252), and with that `inspect` works fine (aside from metaclasses ;) .

----------

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


More information about the Python-bugs-list mailing list