Message200108
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). :( |
|
Date |
User |
Action |
Args |
2013-10-17 04:12:28 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, pitrou, gangesmaster, thomaslee, benjamin.peterson, eric.araujo, Arfrever, daniel.urban, BreamoreBoy, eric.snow, Micah.Friesen |
2013-10-17 04:12:27 | ethan.furman | set | messageid: <1381983147.89.0.950306240442.issue1615@psf.upfronthosting.co.za> |
2013-10-17 04:12:27 | ethan.furman | link | issue1615 messages |
2013-10-17 04:12:27 | ethan.furman | create | |
|