[proxy] bugs.python.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Message 349632 - Python tracker

Message349632

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