Wouldn't `local` make sense as the opposite of `global` - personally I would rather see that than LET.
-----Original Message----- From: Cameron Simpson firstname.lastname@example.org Sent: 30 November 2020 07:13 To: email@example.com Cc: firstname.lastname@example.org Subject: [Python-ideas] Re: Making the for statement work better with nested functions
On 30Nov2020 04:00, email@example.com firstname.lastname@example.org 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 email@example.com _______________________________________________ Python-ideas mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://firstname.lastname@example.org/message/KIZGGX... Code of Conduct: http://python.org/psf/codeofconduct/