[issue45122] Remove PyCode_New and PyCode_NewWithPosOnlyArgs
STINNER Victor
report at bugs.python.org
Mon Sep 6 19:21:06 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
I understood that these function calls shoud be replaced with:
* PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno)
* code.replace() method: https://docs.python.org/dev/library/types.html#types.CodeType.replace
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45122>
_______________________________________
More information about the Python-bugs-list
mailing list