[issue33418] Memory leaks in functions
STINNER Victor
report at bugs.python.org
Tue Sep 10 10:50:52 EDT 2019
STINNER Victor <vstinner at python.org> added the comment:
> But I am worrying about func.func_closure. Can it create cyclic reference in real life applications?
remove.__closure__ is part of a reference cycle in bpo-38006.
I like func_clear() (which is still implemented in the master branch), but we need to understand why/how it was possible *crash Python* in bpo-38006.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33418>
_______________________________________
More information about the Python-bugs-list
mailing list