[issue20654] Pydoc (and help) fails with socket.AddressFamily
Vajrasky Kok
report at bugs.python.org
Mon Feb 17 10:02:40 CET 2014
Vajrasky Kok added the comment:
This is the preliminary patch for this bug.
The bug happens because AddressFamily.AF_UNSPEC is 0. Then you have this if condition:
getattr(object, name, None) or homecls.__dict__[name]
I'll contemplate whether we should add unit test for this or not.
----------
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file34116/preliminary_patch_for_AF_UNSPEC_pydoc_error.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20654>
_______________________________________
More information about the Python-bugs-list
mailing list