[issue33418] Memory leaks in functions
Pablo Galindo Salgado
report at bugs.python.org
Mon Sep 2 08:44:15 EDT 2019
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
This change introduced the possibility to have function objects in an inconsistent state. For example, when calling tp_clear on the function some code must be invoked that tries to ca the function but some fields are NULL causing a crash.
I think we should revert this and think better how to protect against this situation.
----------
nosy: +pablogsal
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33418>
_______________________________________
More information about the Python-bugs-list
mailing list