Message161126
| Author |
ncoghlan |
| Recipients |
ncoghlan |
| Date |
2012年05月19日.14:52:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337439130.16.0.122225885221.issue14857@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Currently, __class__ references from methods in 3.3 aren't being mapped correctly to the class currently being defined.
This goes against the documented behaviour of PEP 3135, which states explicitly that the new zero-argument form is equivalent to super(__class__, <firstarg>), where __class__ is the closure reference.
This breakage is almost certainly due to the fix for #12370
The fact the test suite didn't break is a sign we also have a gap in our test coverage.
Given that a workaround is documented in #12370, but there's no workaround for this breakage, reverting the fix for that issue may prove necessary (unlike that current breakage, at least that wouldn't be a regression from 3.2). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月19日 14:52:10 | ncoghlan | set | recipients:
+ ncoghlan |
| 2012年05月19日 14:52:10 | ncoghlan | set | messageid: <1337439130.16.0.122225885221.issue14857@psf.upfronthosting.co.za> |
| 2012年05月19日 14:52:09 | ncoghlan | link | issue14857 messages |
| 2012年05月19日 14:52:09 | ncoghlan | create |
|