Nick Coghlan added the comment:

Moving the context fixing into an exception handler may work. Something
like:

    try:
        raise exc[1]
     except BaseException as fix_exc:
        ...
        raise

----------

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

Reply via email to