Author veky
Recipients catrudis, eric.smith, terry.reedy, veky
Date 2020-07-19.05:27:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I completely agree that we should reject this, but you commit a very frequent mistake in programming try-expressions. The problem is, if the first option contains a NameError, second option will be executed.

It should be:

    try: i001
    except NameError: <loop never executed>
    else: <loop executed at least once>

And similarly for break001. You see, dependent `else` is needed sometimes. But of course Guido already covered this. :-)
Date User Action Args
2020-07-19 05:27:02vekysetrecipients: + veky, terry.reedy, eric.smith, catrudis
2020-07-19 05:27:02vekysetmessageid: <>
2020-07-19 05:27:02vekylinkissue41272 messages
2020-07-19 05:27:01vekycreate