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:34:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes. Case:

# -------------------
class A:
    def f(self):
        nonlocal __x
# -------------------

must raises SyntaxError like case:

# -------------------
class A:
    def f(self):
        nonlocal x

>> SyntaxError: no binding for nonlocal 'x' found
# -------------------

but doesn't crash with SegFault as it is now.
Date User Action Args
2015-12-29 13:34:45sirkonstsetrecipients: + sirkonst, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, serhiy.storchaka, yselivanov, acucci
2015-12-29 13:34:45sirkonstsetmessageid: <>
2015-12-29 13:34:45sirkonstlinkissue25973 messages
2015-12-29 13:34:45sirkonstcreate