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 Damien George, barry, emilyemorehouse, gvanrossum, ncoghlan, serhiy.storchaka
Date 2019-08-14.02:39:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565750373.35.0.56611202001.issue37757@roundup.psfhosted.org>
In-reply-to
Content
The outcome of the python-dev discussion was that we agreed to switch to raising a plain SyntaxError, as that's what we do everywhere else that this kind of problem comes up (e.g. conflicts between global and nonlocal declarations, or between those and parameter declarations, as well as the various other cases of "that statement/expression is fine in isolation, but you can't use it *here*").

Both PRs have been updated accordingly, and the PEP PR has been merged.
History
Date User Action Args
2019-08-14 02:39:33ncoghlansetrecipients: + ncoghlan, gvanrossum, barry, serhiy.storchaka, Damien George, emilyemorehouse
2019-08-14 02:39:33ncoghlansetmessageid: <1565750373.35.0.56611202001.issue37757@roundup.psfhosted.org>
2019-08-14 02:39:33ncoghlanlinkissue37757 messages
2019-08-14 02:39:33ncoghlancreate