homepage

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 ethan.furman
Recipients Arfrever, BreamoreBoy, Micah.Friesen, benjamin.peterson, daniel.urban, eric.araujo, eric.snow, ethan.furman, gangesmaster, pitrou, rhettinger, thomaslee
Date 2013年10月17日.04:12:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381983147.89.0.950306240442.issue1615@psf.upfronthosting.co.za>
In-reply-to
Content
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'
looking up not_here
looking up huh
huh not in class <class '__main__.With'>
Traceback (most recent call last):
 File "break_getattr.py", line 30, in <module>
 print(TestEnum.one.missing)
AttributeError: getter failed for descriptor 'missing'
===============================================================
As you can see, we have even less information when a class level __getattr__ is /absent/, and when we do have one, there is no change (which is exactly where we really wanted the change). :(
History
Date User Action Args
2013年10月17日 04:12:28ethan.furmansetrecipients: + ethan.furman, rhettinger, pitrou, gangesmaster, thomaslee, benjamin.peterson, eric.araujo, Arfrever, daniel.urban, BreamoreBoy, eric.snow, Micah.Friesen
2013年10月17日 04:12:27ethan.furmansetmessageid: <1381983147.89.0.950306240442.issue1615@psf.upfronthosting.co.za>
2013年10月17日 04:12:27ethan.furmanlinkissue1615 messages
2013年10月17日 04:12:27ethan.furmancreate

AltStyle によって変換されたページ (->オリジナル) /