Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: Unfortunately there is not much in the process call stack: the creation of a list (PyList_New) needs to allocate some memory (not much: sizeof(PyListObject) + gc overhead, probably 32 bytes).
If the system malloc() function fails and returns NULL, Python will raise a MemoryError. But if malloc() blocks and freezes the process, there is not much Python can do. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13335> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com