Message114767
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. |
|
Date |
User |
Action |
Args |
2010-08-24 02:56:13 | Yury.Selivanov | set | recipients:
+ Yury.Selivanov, docs@python |
2010-08-24 02:56:11 | Yury.Selivanov | set | messageid: <1282618571.72.0.746588634044.issue9666@psf.upfronthosting.co.za> |
2010-08-24 02:56:06 | Yury.Selivanov | link | issue9666 messages |
2010-08-24 02:56:05 | Yury.Selivanov | create | |
|