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 nascheme
Recipients Demur Rumed, Mark.Shannon, benjamin.peterson, christian.heimes, mark.dickinson, nascheme, ncoghlan, pitrou, rhettinger, serhiy.storchaka, trent
Date 2017-12-05.21:24:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512509082.72.0.213398074469.issue17611@psf.upfronthosting.co.za>
In-reply-to
Content
def func():
    try:
        try:
            raise RuntimeError
        except:
            return 1
    finally:
        return 3
func()


Sorry, I've been collecting a whole slew of code snippets that cause issues with the "unwind_stack" branch.  I haven't organized them and made unit tests out of them though.  Two packages I found hairy try/except/finally code are "tox" and "gevent".
History
Date User Action Args
2017-12-05 21:24:42naschemesetrecipients: + nascheme, rhettinger, mark.dickinson, ncoghlan, pitrou, christian.heimes, benjamin.peterson, trent, Mark.Shannon, serhiy.storchaka, Demur Rumed
2017-12-05 21:24:42naschemesetmessageid: <1512509082.72.0.213398074469.issue17611@psf.upfronthosting.co.za>
2017-12-05 21:24:42naschemelinkissue17611 messages
2017-12-05 21:24:42naschemecreate