[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

Michael Foord report at bugs.python.org
Thu Mar 22 19:32:52 CET 2012


Michael Foord <michael at voidspace.org.uk> added the comment:

The code is *already* triggering execution through the use of hasattr. It could be switched to use getattr_static instead, but the try...except in the patch looks reasonable whether or not that change is made.

----------

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


More information about the Python-bugs-list mailing list