[issue28893] Make sure exceptions raised in __aiter__ are properly chained in ceval

Serhiy Storchaka report at bugs.python.org
Wed Dec 7 00:44:46 EST 2016


Serhiy Storchaka added the comment:

Should the original exception be stored on the __context__ or the __cause__ attribute? In the latter case you should use _PyErr_FormatFromCause().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28893>
_______________________________________


More information about the Python-bugs-list mailing list