STINNER Victor added the comment: > I am not sure, failmalloc.enable(range) accepts only range > 1, hook_malloc() > fails only once instead of permanently and hook_free() does free memory.
All these things can change :-) > Also what happens then after this call is not very close to real life as > memory is never freed. Why not freeing memory? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30695> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com