]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42923: Dump extension modules on fatal error (GH-24207)
authorVictor Stinner <vstinner@python.org>
Mon, 18 Jan 2021 19:47:13 +0000 (20:47 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Jan 2021 19:47:13 +0000 (20:47 +0100)
commit250035d134ad482e724f73ce654682254b513ee0
tree48d2b3627adfe0b0e04aaaee25f35f4999cde254
parentf7b5bacd7a0b2084ce699eda6f6f4b1adfa16590
bpo-42923: Dump extension modules on fatal error (GH-24207)

The Py_FatalError() function and the faulthandler module now dump the
list of extension modules on a fatal error.

Add _Py_DumpExtensionModules() and _PyModule_IsExtension() internal
functions.
Include/internal/pycore_pyerrors.h
Include/moduleobject.h
Lib/test/test_capi.py
Lib/test/test_faulthandler.py
Misc/NEWS.d/next/Library/2021-01-13-12-15-13.bpo-42923.zBiNls.rst [new file with mode: 0644]
Modules/faulthandler.c
Objects/moduleobject.c
Python/pylifecycle.c