This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients wlohu, xtreak
Date 2019-02-21.14:41:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550760102.79.0.770358381586.issue36066@roundup.psfhosted.org>
In-reply-to
Content
I would recommend posting this on python-ideas to get some feedback. This introduces new control flow and breaks some old assumptions as in third case empty block is executed and there might be code that depends upon current for-else behavior where else should be executed. Also reading the examples initially this seems to add little cognitive overhead too since there is now empty and else that are executed based on empty iterable, breaking out of the loop, natural ending of the loop which might make this little hard to teach too.
History
Date User Action Args
2019-02-21 14:41:42xtreaksetrecipients: + xtreak, wlohu
2019-02-21 14:41:42xtreaksetmessageid: <1550760102.79.0.770358381586.issue36066@roundup.psfhosted.org>
2019-02-21 14:41:42xtreaklinkissue36066 messages
2019-02-21 14:41:42xtreakcreate