[issue3663] Extra DECREF on syntax errors

Georg Brandl report at bugs.python.org
Mon Aug 25 00:32:28 CEST 2008


Georg Brandl <georg at python.org> added the comment:

The culprit is Python/pythonrun.c:1245:

    tb = tb ? tb : Py_None;

Py_None needs to be INCREF'd in the else case.

----------
assignee:  -> pitrou
nosy: +georg.brandl

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


More information about the Python-bugs-list mailing list