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 Demur Rumed
Recipients Demur Rumed, dino.viehland, serhiy.storchaka
Date 2016-05-29.19:31:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464550297.83.0.671906196351.issue27127@psf.upfronthosting.co.za>
In-reply-to
Content
Currently it'll work since in an except it'll generate a CONTINUE_LOOP that'll jump to the end of the loop & either jump back to the start or to the end

Your example is incorrect. If the continue's JUMP_ABS were a FOR_ITER then if we were on the last iteration of the loop we would end up executing the loop body with an invalid stack. So you'd have to follow the FOR_ITER with a JUMP_ABS past the loop. Not sure if there's a speed advantage worth complexity/larger wordcode
History
Date User Action Args
2016-05-29 19:31:37Demur Rumedsetrecipients: + Demur Rumed, dino.viehland, serhiy.storchaka
2016-05-29 19:31:37Demur Rumedsetmessageid: <1464550297.83.0.671906196351.issue27127@psf.upfronthosting.co.za>
2016-05-29 19:31:37Demur Rumedlinkissue27127 messages
2016-05-29 19:31:37Demur Rumedcreate