On 8/9/2019 11:41 AM, Tim Peters wrote:
[Guido]
I don't see how this debate can avoid a vote in the Steering Council.

FWIW, I found Nick's last post wholly persuasive:  back off to
SyntaxError for now, and think about adding a more specific exception
later for _all_ cases (not just walrus) in which a scope conflict
isn't allowed (e.g., his example of declaring a function's formal
argument `global` in the function).

Also FWIW: I agree with Nick, except I don't see the point of having an exception that likely no one is ever going to catch. What's the scenario under which you'd want to catch a ScopeConflictException? If it only exists to give more info to a human, just improve the message that goes with SyntaxError in that case.

But to answer Guido's question: I think this is a fine issue for the SC to vote on.

Eric
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/2TDXXUCOEAZYFPCVGOVUWZSCQ24DNGMZ/

Reply via email to