6 ms·
tracemalloc is the first user of the PEP 445 (malloc API), but I wrote another toy: https://bitbucket.org/haypo/pyfailmalloc https://bitbucket.org/haypo/pyfailm
by haypo 13y ago
tracemalloc is the first user of the PEP 445 (malloc API), but I wrote another toy:
https://bitbucket.org/haypo/pyfailmalloc https://bitbucket.org/haypo/pyfailmalloc
"Debug tool for Python injecting memory allocation faults to simulate a low memory system to test how your application handles MemoryError exceptions."