Message76825
here's a short example of the bug
>>> class Foo(object):
... def __getattr__(self, name):
... return 42
... @property
... def bacon(self):
... return int.lalala
... @property
... def eggs(self):
... return 17
...
>>> f = Foo()
>>> f.bacon # raises an AttributeError, and silently ignores it
42
>>> f.eggs
17
>>>
are there any news in this front? |
|
Date |
User |
Action |
Args |
2008-12-03 12:20:41 | gangesmaster | set | recipients:
+ gangesmaster, pitrou |
2008-12-03 12:20:41 | gangesmaster | set | messageid: <1228306841.59.0.485406172017.issue1615@psf.upfronthosting.co.za> |
2008-12-03 12:20:40 | gangesmaster | link | issue1615 messages |
2008-12-03 12:20:39 | gangesmaster | create | |
|