[issue30695] add a nomemory_allocator to the _testcapi module

STINNER Victor report at bugs.python.org
Mon Jun 19 09:52:33 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue30695>
_______________________________________


More information about the Python-bugs-list mailing list