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 Mark.Shannon
Recipients Demur Rumed, Mark.Shannon, benjamin.peterson, christian.heimes, mark.dickinson, nascheme, ncoghlan, pitrou, rhettinger, serhiy.storchaka, trent
Date 2017-12-04.15:21:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512400908.08.0.213398074469.issue17611@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy,

I assume that you plan to use something like the JVM's JSR/RET instruction pair. https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-6.html
Is that right?

My reasons for preferring the finally-block duplication approach is that it keeps the interpreter simpler and minimises the amount work done when no exception is raised. As demonstrated, the increase in the static size of the bytecode is negligible.
History
Date User Action Args
2017-12-04 15:21:48Mark.Shannonsetrecipients: + Mark.Shannon, nascheme, rhettinger, mark.dickinson, ncoghlan, pitrou, christian.heimes, benjamin.peterson, trent, serhiy.storchaka, Demur Rumed
2017-12-04 15:21:48Mark.Shannonsetmessageid: <1512400908.08.0.213398074469.issue17611@psf.upfronthosting.co.za>
2017-12-04 15:21:48Mark.Shannonlinkissue17611 messages
2017-12-04 15:21:48Mark.Shannoncreate