[Python-Dev] PEP 548: More Flexible Loop Control (original) (raw)
Ivan Levkivskyi levkivskyi at gmail.com
Wed Sep 6 04:22:04 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 548: More Flexible Loop Control
- Next message (by thread): [Python-Dev] PEP 548: More Flexible Loop Control
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170906/8333d3a3/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 548: More Flexible Loop Control
- Next message (by thread): [Python-Dev] PEP 548: More Flexible Loop Control
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]