[Python-Dev] PEP 548: More Flexible Loop Control
levkivskyi at gmail.com
Wed Sep 6 04:22:04 EDT 2017
On 6 September 2017 at 08:42, Serhiy Storchaka <storchaka at gmail.com> wrote:
> 06.09.17 03:11, R. David Murray пише:
>> I've written a PEP proposing a small enhancement to the Python loop
>> control statements. Short version: here's what feels to me like a
>> Pythonic way to spell "repeat until":
>> <do stuff>
>> break if <done condition>
> I'm -1 for this proposition.
I also think this is not worth it. This will save few lines of code but
introduces some ambiguity and makes syntax more complex.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev