[issue13188] generator.throw() ignores __traceback__ of exception

Andreas Stührk report at bugs.python.org
Tue Oct 18 15:39:26 CEST 2011


Andreas Stührk <andy-python at hammerhartes.de> added the comment:

It leaks because `PyException_GetTraceback()` already returns a new reference, hence the "Py_XINCREF(tb)" is wrong.

----------
nosy: +Trundle

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


More information about the Python-bugs-list mailing list