Neil Schemenauer <nas-pyt...@arctrix.com> added the comment:

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".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue17611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to