[Python-Dev] cpython: Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.

Christian Heimes christian at python.org
Mon Sep 12 06:35:13 EDT 2016


On 2016-09-12 12:29, Ivan Levkivskyi wrote:
> On 12 September 2016 at 12:24, Christian Heimes <christian at python.org
> <mailto:christian at python.org>> wrote:
> 
>     The code looks suspicious. Can you please
>     provide a patch that makes it more obvious, e.g. either by using if /
>     else if / else or a comment?
> 
> 
> Sure, I will open an issue with a patch and will add you to nosy (cannot
> do this *right* now, sorry).

Don't worry, it's not relevant for the beta release. My request is
purely cosmetic to make the code a bit easier to understand. :)

Christian



More information about the Python-Dev mailing list