fix builtin hasattr() to suppress only AttributeError exceptions
authorLisandro Dalcin <dalcinl@gmail.com>
Wed, 23 Feb 2011 00:57:11 +0000 (21:57 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Wed, 23 Feb 2011 00:57:11 +0000 (21:57 -0300)
commit90120314bcc8bd5a4f71f2629e1065f5c943071c
treed24eb99f8b62b75c7815e7ed00e62509c6c0b114
parentacc01ab42817c9caa35bd5f263929a8be7dee166
fix builtin hasattr() to suppress only AttributeError exceptions
Cython/Compiler/Builtin.py
tests/run/hasattr.pyx [new file with mode: 0644]