Serhiy Storchaka added the comment:

Yet one option is the emersion of the exception. Affected exception is removed 
from the chain and added at it head.

If there is a chain A -> B -> C -> D -> E, after assignment C.__context__ = A 
we will get a chain C -> A -> B -> D -> E. No exception is lost.

----------

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

Reply via email to