Message75322
| Author | arigo |
|---|---|
| Recipients | Carl.Friedrich.Bolz, arigo |
| Date | 2008-10-29.17:46:00 |
| SpamBayes Score | 4.3537614e-07 |
| Marked as misclassified | No |
| Message-id | <1225302362.81.0.484581196319.issue4230@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The attached example works in the __add__ and __getattribute__ cases on CPython, but fails in the __getattr__ case. All three cases work as the semantics say they should on Jython, IronPython and PyPy. It's admittedly an obscure use case. There is no reason that __getattr__ should behave differently. The behavior of __add__ and __getattribute__ is the "correct" one, according to the rule that special methods are bound (with __get__) before they are called. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-10-29 17:46:03 | arigo | set | recipients: + arigo, Carl.Friedrich.Bolz |
| 2008-10-29 17:46:02 | arigo | set | messageid: <1225302362.81.0.484581196319.issue4230@psf.upfronthosting.co.za> |
| 2008-10-29 17:46:01 | arigo | link | issue4230 messages |
| 2008-10-29 17:46:01 | arigo | create | |