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.
Created on 2010年08月24日 02:56 by Yury.Selivanov, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | |
hasattr.patch | Yury.Selivanov, 2010年08月24日 02:56 |
Messages (2) | |||
---|---|---|---|
msg114767 - (view) | Author: Yury Selivanov (Yury.Selivanov) * | Date: 2010年08月24日 02:56 | |
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. |
|||
msg114768 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2010年08月24日 03:27 | |
Fixed in r84294. I will not backport to 3.1. Thanks for the contribution! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022年04月11日 14:57:05 | admin | set | github: 53875 |
2010年09月28日 17:15:20 | jcea | set | nosy:
+ jcea |
2010年08月24日 03:27:52 | benjamin.peterson | set | status: open -> closed keywords: + gsoc, - patch resolution: accepted messages: + msg114768 |
2010年08月24日 03:07:34 | benjamin.peterson | set | assignee: docs@python -> benjamin.peterson nosy: + benjamin.peterson |
2010年08月24日 02:56:06 | Yury.Selivanov | create |