A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-July/127256.html below:

[Python-Dev] pyfailmalloc: new debug tool to test how your applications handles MemoryError

[Python-Dev] pyfailmalloc: new debug tool to test how your applications handles MemoryError [Python-Dev] pyfailmalloc: new debug tool to test how your applications handles MemoryErrorVictor Stinner victor.stinner at gmail.com
Tue Jul 9 01:41:23 CEST 2013
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4