[Python-Dev] PEP 548: More Flexible Loop Control
Ivan Levkivskyi
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":
>>
>> while:
>> <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.
--
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170906/8333d3a3/attachment.html>
More information about the Python-Dev
mailing list