[issue504714] hasattr catches only AttributeError

Karl Chen report at bugs.python.org
Mon Jul 16 19:16:21 CEST 2012


Karl Chen <quarl at 09e0.clgubaohtf.z.quarl.org> added the comment:

For the record, this was eventually fixed for Python 3.2.  See 
http://bugs.python.org/issue9666.

Adding this here because issue504714 comes up earlier than issue9666 in many web searches.

----------
nosy: +quarl

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


More information about the Python-bugs-list mailing list