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

Kristján Valur Jónsson report at bugs.python.org
Wed Apr 9 22:33:23 CEST 2014


Kristján Valur Jónsson added the comment:

Here we are.  There were a lot of places where this was being incorrectly done.  And some places where this was being considered a recoverable error, which it isn't because the source is freed.

Which sort of supports my opinion that this is bad general api design, but perhaps a good conveneice function for limited use.

----------
Added file: http://bugs.python.org/file34779/string_resize.patch

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


More information about the Python-bugs-list mailing list