[issue46347] memory leak in PyEval_EvalCodeEx

Larry Hastings report at bugs.python.org
Tue Jan 11 17:56:57 EST 2022


Larry Hastings <larry at hastings.org> added the comment:

The function will still leak "kwnames" and "default" if creating the "func" object fails.  Admittedly that would only happen in a low-memory condition which is a) rare and b) probably only happens just before the interpreter completely dies, so it's not worth addressing during today's mild emergency.

----------
nosy: +larry

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


More information about the Python-bugs-list mailing list