]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisablehook are invoked...
authorSteve Dower <steve.dower@python.org>
Thu, 28 Nov 2019 16:46:23 +0000 (08:46 -0800)
committerGitHub <noreply@github.com>
Thu, 28 Nov 2019 16:46:23 +0000 (08:46 -0800)
commitb74a6f14b94d36fb72b1344663e81776bf450847
treec02fcc9ccb6ec32da2b9f7adcf776285c405f16e
parent18d8edbbb6626ac9cdf1152a720811beb2230b33
bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisablehook are invoked (GH-17392)

Also fixes some potential segfaults in unraisable hook handling.
Doc/library/sys.rst
Lib/test/audit-tests.py
Lib/test/test_audit.py
Misc/NEWS.d/next/Core and Builtins/2019-11-26-09-16-47.bpo-38920.Vx__sT.rst [new file with mode: 0644]
Python/errors.c
Python/pythonrun.c
Python/sysmodule.c