[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2015-07-21 Thread Ethan Furman
Changes by Ethan Furman : -- resolution: -> not a bug stage: patch review -> status: open -> closed ___ Python tracker ___ ___ Python

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-28 Thread Ethan Furman
Ethan Furman added the comment: Downside to this patch (stoneleaf.02) is that custom AttributeErrors raised in __getattr__ are overridden, which is a pretty severe regression. (Removed, renamed, and reloaded patch.) -- Added file: http://bugs.python.org/file34657/issue1615.stoneleaf.02

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-28 Thread Ethan Furman
Changes by Ethan Furman : -- Removed message: http://bugs.python.org/msg215091 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-28 Thread Ethan Furman
Changes by Ethan Furman : Removed file: http://bugs.python.org/file34648/issue1615.stoneleaf.01.patch ___ Python tracker ___ ___ Python-bugs-li

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-28 Thread Ethan Furman
Ethan Furman added the comment: Downside to this patch (stoneleaf.01) is that custom AttributeErrors raised in __getattr__ are overridden, which is a pretty severe regression. -- ___ Python tracker

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-27 Thread Ethan Furman
Changes by Ethan Furman : Added file: http://bugs.python.org/file34648/issue1615.stoneleaf.01.patch ___ Python tracker ___ ___ Python-bugs-list

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-27 Thread Ethan Furman
Changes by Ethan Furman : Removed file: http://bugs.python.org/file34647/issue1615.stoneleaf.01.patch ___ Python tracker ___ ___ Python-bugs-li

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-27 Thread Ethan Furman
Ethan Furman added the comment: Results from the first two tests in my test script: -- 'WithOut' object has no attribute 'not_here' looking up not_here looking up huh 'With' object has no attribute 'not_here' -- stage: test needed -> patch

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-03-21 Thread Ethan Furman
Changes by Ethan Furman : -- stage: needs patch -> test needed versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2013-10-16 Thread Ethan Furman
Ethan Furman added the comment: If anyone with more experience wants ownership, feel free to take it from me. ;) Otherwise I'll do my best to get this figured out in time for the beta. -- assignee: -> ethan.furman stage: -> needs patch ___ Python

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2013-10-16 Thread Ethan Furman
Ethan Furman added the comment: Well, attached patch doesn't segfault in debug mode, but the errors aren't any better; in fact, I'd say their worse. Here's the current output from my test script: === getter failed for descriptor 'huh'

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2013-10-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2013-09-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2013-09-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Marking this for Python 3.4. It isn't a bug in the descriptor protocol; rather, it is an implementation detail that is sometimes helpful but is mostly annoying. -- title: descriptor protocol bug -> PyObject_GenericGetAttr suppresses AttributeError