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 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:10ncoghlansetrecipients: + ncoghlan
2012-05-19 14:52:10ncoghlansetmessageid: <1337439130.16.0.122225885221.issue14857@psf.upfronthosting.co.za>
2012-05-19 14:52:09ncoghlanlinkissue14857 messages
2012-05-19 14:52:09ncoghlancreate