[issue20434] Process crashes if not enough memory to import module

Kristján Valur Jónsson report at bugs.python.org
Mon Apr 14 16:57:56 CEST 2014


Kristján Valur Jónsson added the comment:

I would also advocate for a better api, that leaves it up to the caller what to do, much like realloc() does.  A convenience macro that frees the block on error could then be provided.  But this is 2.7 and we don't change stuff there :)

Can you elaborate on your second comment?  Is there some place where I forgot to clear the object?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20434>
_______________________________________


More information about the Python-bugs-list mailing list