(original) (raw)

On 6 September 2017 at 08:42, Serhiy Storchaka <storchaka@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:

break if


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