[issue46347] memory leak in PyEval_EvalCodeEx

Pablo Galindo Salgado report at bugs.python.org
Tue Jan 11 17:45:28 EST 2022


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Turns out this leak affects CYthon quite a lot:

https://github.com/cython/cython/blob/29ad96444b8b1a4f05a6ac2328fde01de4782691/Cython/Utility/ObjectHandling.c#L2139-L2155

This seems to imply that every function call using __Pyx_PyCFunction_FastCall is leaking memory in 3.10, which is quite bad. We may need an urgent release for this :(

----------

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


More information about the Python-bugs-list mailing list