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