Wouldn't `local` make sense as the opposite of `global` - personally I would 
rather see that than LET. 

-----Original Message-----
From: Cameron Simpson <c...@cskk.id.au> 
Sent: 30 November 2020 07:13
To: sairamkumar2...@gmail.com
Cc: python-ideas@python.org
Subject: [Python-ideas] Re: Making the for statement work better with nested 
functions

On 30Nov2020 04:00, sairamkumar2...@gmail.com <sairamkumar2...@gmail.com> wrote:
>This is quite good but remove the new keyword, it's not necessary 
>there.

The idea is to introduce names which are not previously present, and _expire_ 
and the end of the enclosed suite. Without the "new" is valid Python right now 
and does not mean that. So some indication of the special meaning would be 
required.

Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an 
email to python-ideas-le...@python.org 
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KIZGGXUYVFEBLN4JGXQHPKUBWOCNEZKD/
Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/IDGOO3ALPG2DPYMR5VQEKB5AWDHTSJVX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to