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 sirkonst
Recipients acucci, benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, serhiy.storchaka, sirkonst, yselivanov
Date 2015-12-29.13:10:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451394642.45.0.525486873743.issue25973@psf.upfronthosting.co.za>
In-reply-to
Content
The problem happens only when "nonlocal __something" in a class method. In your case f2() isn't class method.

More interesting behavior with underscores - https://gist.github.com/sirkonst/6eff694c4546700417ea
History
Date User Action Args
2015-12-29 13:10:42sirkonstsetrecipients: + sirkonst, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, serhiy.storchaka, yselivanov, acucci
2015-12-29 13:10:42sirkonstsetmessageid: <1451394642.45.0.525486873743.issue25973@psf.upfronthosting.co.za>
2015-12-29 13:10:42sirkonstlinkissue25973 messages
2015-12-29 13:10:42sirkonstcreate