[issue20434] Process crashes if not enough memory to import module
STINNER Victor
report at bugs.python.org
Wed Jan 29 11:27:54 CET 2014
STINNER Victor added the comment:
Ah yes, the bytes object is set to NULL. In fact, you don't need to call Py_CLEAR(&retval) in case of error, because retval is already NULL. Could you please update your patch to just do nothing on retval in case of error please?
> 3.4 hasn't the problem.
Yes, I played some weeks with pyfailmalloc, a new tool for Python 3.4 to inject random MemoryError errors. I fixed many other different issues.
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20434>
_______________________________________
More information about the Python-bugs-list
mailing list