Metadata-Version: 1.1
Name: pyfailmalloc
Version: 0.1
Summary: inject memory allocation faults
Home-page: http://pypi.python.org/pypi/pyfailmalloc/
Author: Victor Stinner
Author-email: victor.stinner@gmail.com
License: MIT license
Download-URL: http://pypi.python.org/pypi/pyfailmalloc/
Description: ++++++++++++
        pyfailmalloc
        ++++++++++++
        
        Debug tool for Python injecting memory allocation faults to simulate a low
        memory system to test how your application handles ``MemoryError`` exceptions.
        
        pyfailmalloc is based on the `PEP 445
        <http://www.python.org/dev/peps/pep-0445/>`_ "*Add new APIs to customize Python
        memory allocators*" and so requires at least Python 3.4.
        
        Homepage: http://pypi.python.org/pypi/pyfailmalloc
        
        
        API
        ===
        
        * ``failmalloc.enable(range: int=1000)``: schedule a memory allocation failure
          in random.randint(1, range) allocations.
        * ``failmalloc.disable()``: cancel the scheduled memory allocation failure
        
        The version can be read from failmalloc.__version__ as a string (ex:
        ``"0.1"``).
        
        
        Changelog
        =========
        
        Version 0.1 (2013-07-08)
        
        - First public version
        
        
        See also
        ========
        
        * `failmalloc <http://www.nongnu.org/failmalloc/>`_
        * `pytracemalloc <http://pypi.python.org/pypi/pytracemalloc>`_
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Debuggers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
