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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20654>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to