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 martin.panter
Recipients Alistair, docs@python, martin.panter
Date 2018-12-10.09:42:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544434961.68.0.788709270274.issue35446@psf.upfronthosting.co.za>
In-reply-to
Content
It doesn’t make sense to move the “except” line without moving the matching “print” line. According to <https://docs.python.org/3.7/reference/compound_stmts.html#index-1>, “A clause consists of a header and a ‘suite’.” So when it talks about reversing the “except” clauses, that includes reversing the corresponding “print” lines, so they condinue to identify which exception handler was triggered.
History
Date User Action Args
2018-12-10 09:42:41martin.pantersetrecipients: + martin.panter, docs@python, Alistair
2018-12-10 09:42:41martin.pantersetmessageid: <1544434961.68.0.788709270274.issue35446@psf.upfronthosting.co.za>
2018-12-10 09:42:41martin.panterlinkissue35446 messages
2018-12-10 09:42:41martin.pantercreate