PEP 454: add link to faulthandler doc
This commit is contained in:
parent
9d51af2d8a
commit
3d5f0c8eb7
12
pep-0454.txt
12
pep-0454.txt
|
@ -56,11 +56,13 @@ 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``).
|
||||
The API of the tracemalloc module is similar to the API of 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``). See the
|
||||
`documentation of the faulthandler module
|
||||
<http://docs.python.org/dev/library/faulthandler.html>`_.
|
||||
|
||||
The tracemalloc module has been written for CPython. Other
|
||||
implementations of Python may not provide it.
|
||||
|
|
Loading…
Reference in New Issue