Author ncoghlan
Recipients ncoghlan
Date 2012-05-19.14:52:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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).
Date User Action Args
2012-05-19 14:52:10ncoghlansetrecipients: + ncoghlan
2012-05-19 14:52:10ncoghlansetmessageid: <>
2012-05-19 14:52:09ncoghlanlinkissue14857 messages
2012-05-19 14:52:09ncoghlancreate