[issue25973] Segmentation fault with nonlocal and two underscores

Konstantin Enchant report at bugs.python.org
Tue Dec 29 08:10:42 EST 2015


Konstantin Enchant added the comment:

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

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25973>
_______________________________________


More information about the Python-bugs-list mailing list