[issue13454] crash when deleting one pair from tee()

Georg Brandl report at bugs.python.org
Fri Dec 28 08:29:22 CET 2012


Georg Brandl added the comment:

The patch replaces a

 Py_CLEAR(tdo->nextlink)

with a construct that does, basically, something like this several times:

 Py_DECREF(tdo->nextlink)
 tdo->nextlink

which is what leads to the issues that Py_CLEAR is supposed to prevent.  Therefore I think this patch is not correct.

----------
nosy: +georg.brandl

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


More information about the Python-bugs-list mailing list