STINNER Victor added the comment: Ok, let's start with a first patch. It works in the common cases, because they are some corner cases like subinterpreter which might still crash.
The hook on PyMem_RawMalloc() takes the GIL. It is disabled because it has still bugs (it introduces a deadlock in some corner cases!) ---------- keywords: +patch Added file: http://bugs.python.org/file31517/tracemalloc.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com