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 | pitrou |
|---|---|
| Recipients | gangesmaster, pitrou |
| Date | 2008年01月20日.17:29:06 |
| SpamBayes Score | 0.056548968 |
| Marked as misclassified | No |
| Message-id | <1200850148.09.0.827845504318.issue1615@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I can confirm that with SVN trunk, and it's actually even worse because it can return unexpected results without raising an exception at all: >>> class Foo(object): ... def __getattr__(self, name): return 42 ... @property ... def bacon(self): return int.lalala ... >>> f = Foo() >>> f.bacon 42 >>> Foo.bacon.__get__(f) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 4, in bacon AttributeError: type object 'int' has no attribute 'lalala' |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年01月20日 17:29:08 | pitrou | set | spambayes_score: 0.056549 -> 0.056548968 recipients: + pitrou, gangesmaster |
| 2008年01月20日 17:29:08 | pitrou | set | spambayes_score: 0.056549 -> 0.056549 messageid: <1200850148.09.0.827845504318.issue1615@psf.upfronthosting.co.za> |
| 2008年01月20日 17:29:07 | pitrou | link | issue1615 messages |
| 2008年01月20日 17:29:06 | pitrou | create | |