diff --git a/pep-0454.txt b/pep-0454.txt index b597386f9..a320f5452 100644 --- a/pep-0454.txt +++ b/pep-0454.txt @@ -56,6 +56,12 @@ following information: * Location of a Python memory allocation: size in bytes, Python filename and line number +The tracemalloc module has an API close the the faulthandler module: +``enable()``, ``disable()`` and ``is_enabled()`` functions, an +environment variable (``PYTHONFAULTHANDLER`` and ``PYTHONTRACEMALLOC``), +a ``-X`` command line option (``-X faulthandler`` and ``-X +tracemalloc``). + API ===