Tin mới
pydoc — Documentation generator and online help system
doctest — Test interactive Python examples
Effects of the Python Development Mode¶
The Python Development Mode introduces additional runtime checks that are too expensive to be enabled by default. It should not be more verbose than the default if the code is correct; new warnings are only emitted when
The Python Development Mode introduces additional runtime checks that are too expensive to be enabled by default. It should not be more verbose than the default if the code is correct; new warnings are only emitted when
Install debug hooks on memory allocators to check for:
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.
Enable asyncio debug mode. For example, asyncio checks for coroutines that were not awaited and logs them.
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:
Effects of the Python Development Mode¶
Enabling the Python Development Mode is similar to the following command, but with additional effects described below:
Effects of the Python Development Mode¶
Enabling the Python Development Mode is similar to the following command, but with additional effects described below: