Python Development Mode — Python 3.9.25 documentation

docs.python.org

Table of Contents | Report a Bug | index | modules | Python | 3.9.25 Documentation | The Python Standard Library | Development Tools | pydoc — Documentation generator and online help | doctest — Test interactive Python examples

Tin mới

pydoc — Documentation generator and online help system

doctest — Test interactive Python examples

pydoc — Documentation generator and online help system

Python documentation for the current stable release

Python documentation for the current stable release

pydoc — Documentation generator and online help system

Python Module Index

3.9.25 Documentation

The Python Standard Library

DeprecationWarning

PyMem_SetupDebugHooks()

Install debug hooks on memory allocators to check for:

faulthandler.enable()

Call faulthandler.enable() at Python startup to install handlers for the SIGSEGV, SIGFPE, SIGABRT, SIGBUS and SIGILL signals to dump the Python traceback on a crash.

PYTHONFAULTHANDLER

Call faulthandler.enable() at Python startup to install handlers for the SIGSEGV, SIGFPE, SIGABRT, SIGBUS and SIGILL signals to dump the Python traceback on a crash.

asyncio debug mode

Enable asyncio debug mode. For example, asyncio checks for coroutines that were not awaited and logs them.

asyncio: Asynchronous I/O.

Enable asyncio debug mode. For example, asyncio checks for coroutines that were not awaited and logs them.

tracemalloc: Trace memory allocations.

Enabling the Python Development Mode is similar to the following command, but with additional effects described below:

1 1