This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Yury.Selivanov
Recipients Yury.Selivanov, docs@python
Date 2010-08-24.02:56:04
SpamBayes Score 2.7854157e-06
Marked as misclassified No
Message-id <1282618571.72.0.746588634044.issue9666@psf.upfronthosting.co.za>
In-reply-to
Content
As discussed on python-dev mailing list (http://mail.python.org/pipermail/python-dev/2010-August/103178.html), 'hasattr' default behaviour should be changed to suppress only AttributeError exceptions.  Other should pass through.

The fix, however, shouldn't change behaviour of existing C API, functions PyObject_HasAttr and PyObject_HasAttrString in particular.

I'm targeting this issue on Python 3.2 version, but probably it may be introduced in the next Python 3.1 maintenance release.
History
Date User Action Args
2010-08-24 02:56:13Yury.Selivanovsetrecipients: + Yury.Selivanov, docs@python
2010-08-24 02:56:11Yury.Selivanovsetmessageid: <1282618571.72.0.746588634044.issue9666@psf.upfronthosting.co.za>
2010-08-24 02:56:06Yury.Selivanovlinkissue9666 messages
2010-08-24 02:56:05Yury.Selivanovcreate