[issue43541] PyEval_EvalCodeEx() can no longer be called with code which has (CO_NEWLOCALS | CO_OPTIMIZED) flags
STINNER Victor
report at bugs.python.org
Thu Mar 18 07:39:56 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
In commit 46496f9d12582bf11f4911ad0f23315d6f277907, I modified _PyEval_BuiltinsFromGlobals() to return a borrowed reference rather than a strong reference. It seems like I forgot to remove a Py_DECREF() in PyEval_EvalCodeEx()!
I'm working on a fix.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43541>
_______________________________________
More information about the Python-bugs-list
mailing list