Yury Selivanov added the comment:

> 
> Maybe we should deny setting "exc.__context__=exc" (modify 
> PyException_SetContext for that). Maybe raise a new RuntimeError in this case?

There is a patch for that somewhere on the tracker

----------

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

Reply via email to