]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36829: Add _PyErr_WriteUnraisableMsg() (GH-13488)
authorVictor Stinner <vstinner@redhat.com>
Mon, 27 May 2019 06:57:14 +0000 (08:57 +0200)
committerGitHub <noreply@github.com>
Mon, 27 May 2019 06:57:14 +0000 (08:57 +0200)
commit71c52e3048dd07567f0c690eab4e5d57be66f534
tree7f3a063d2d3edb324d7d00bf13a66ddad689d22e
parent2f0bfd27a5e3a9a7cbeb2ddd45ce50c3d4bdb4e9
bpo-36829: Add _PyErr_WriteUnraisableMsg() (GH-13488)

* sys.unraisablehook: add 'err_msg' field to UnraisableHookArgs.
* Use _PyErr_WriteUnraisableMsg() in _ctypes _DictRemover_call()
  and gc delete_garbage().
Doc/library/sys.rst
Include/cpython/pyerrors.h
Lib/test/test_sys.py
Modules/_ctypes/_ctypes.c
Modules/_testcapimodule.c
Modules/gcmodule.c
Python/clinic/sysmodule.c.h
Python/errors.c
Python/sysmodule.c