See also
CPython's development model can be enabled with the
command line option -X dev
. This changes the following features:
- Add default warning filter, as
-W
default
- Install debug hooks on memory allocators: see the
PyMem_SetupDebugHooks()
C function
- Enable the faulthandler module to dump the Python traceback on a crash
- Enable asyncio debug mode
- Set the dev_mode attribute of
sys.flags
to True
- io.IOBase destructor logs close() exceptions
PyPy is an alternative for CPython.
Don't confuse CPython with
Cython.