[issue38618] Why not use refcount of c.c_filename in PyAST_FromNodeObject()

Serhiy Storchaka report at bugs.python.org
Mon Oct 28 17:35:40 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

There is no bug. We can add Py_INCREF/Py_DECREF in ast.c. We can remove Py_INCREF/Py_DECREF from compile.c. But all this would just add code churn.

----------
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38618>
_______________________________________


More information about the Python-bugs-list mailing list