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 ncoghlan
Recipients Mark.Shannon, deleted0524, erik.bray, gregory.p.smith, jdemeyer, ncoghlan, njs, xgdomingo, yselivanov
Date 2017-09-08.03:30:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504841417.0.0.892069914134.issue29988@psf.upfronthosting.co.za>
In-reply-to
Content
In addition to adding a test case to ensure exceptions were handled correctly, I also added test cases for return, break, and continue, and all four new tests initially failed.

Adding a special case for WITH_CLEANUP_START resolved those, but the tests need an adjustment to account for the fact that some of the opcode offsets are unreachable in the test case that covers the early return.
History
Date User Action Args
2017-09-08 03:30:17ncoghlansetrecipients: + ncoghlan, gregory.p.smith, njs, Mark.Shannon, erik.bray, jdemeyer, yselivanov, deleted0524, xgdomingo
2017-09-08 03:30:17ncoghlansetmessageid: <1504841417.0.0.892069914134.issue29988@psf.upfronthosting.co.za>
2017-09-08 03:30:16ncoghlanlinkissue29988 messages
2017-09-08 03:30:16ncoghlancreate