[Python-Dev] pyfailmalloc: new debug tool to test how your applications handles MemoryError (original) (raw)
Victor Stinner victor.stinner at gmail.com
Tue Jul 9 01:41:23 CEST 2013
- Previous message: [Python-Dev] pyfailmalloc: new debug tool to test how your applications handles MemoryError
- Next message: [Python-Dev] Python 3.4 and Windows XP: just 45 days until EOL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2013/7/9 Victor Stinner <victor.stinner at gmail.com>:
I developed a small Python module (150 lines of C code) to inject memory allocation failures: https://pypi.python.org/pypi/pyfailmalloc
Bitbucket was down, so I was unable to give the link to its source code. The server is back, here is the C code: https://bitbucket.org/haypo/pyfailmalloc/src/tip/failmalloc.c
You can see that it's now easy to develop such tools thanks to the PEP 445.
Victor
- Previous message: [Python-Dev] pyfailmalloc: new debug tool to test how your applications handles MemoryError
- Next message: [Python-Dev] Python 3.4 and Windows XP: just 45 days until EOL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]