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 serhiy.storchaka
Recipients Wilberto, r.david.murray, serhiy.storchaka
Date 2013-09-06.22:14:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I'm not even sure when this else statement is executed.

It executed when no breaks were happen. I.e. both variants of code are equivalent besides the fact that variant with "else" doesn't require named boolean variable. It is a feature of Python syntax.
Date User Action Args
2013-09-06 22:14:46serhiy.storchakasetrecipients: + serhiy.storchaka, r.david.murray, Wilberto
2013-09-06 22:14:46serhiy.storchakasetmessageid: <>
2013-09-06 22:14:46serhiy.storchakalinkissue18949 messages
2013-09-06 22:14:45serhiy.storchakacreate