[issue46536] Better for loop

Eric V. Smith report at bugs.python.org
Wed Jan 26 09:05:14 EST 2022


Eric V. Smith <eric at trueblade.com> added the comment:

Thank you for the suggestion.

This is unlikely to gain acceptance. zip is usable in places outside of for loops, whereas your suggestion appears to be only useful in for loops. In addition, I don't see a way to specify the "strict" option using your syntax. Your syntax also doesn't seem to add any new functionality or expressiveness to python, which is one of the usual criteria for adding new syntax.

I'm going to close this, but if you'd like to pursue it, I suggest opening a discussion on the python-ideas mailing list.

----------
nosy: +eric.smith
resolution: not a bug -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46536>
_______________________________________


More information about the Python-bugs-list mailing list