summaryrefslogtreecommitdiffstats
path: root/Doc/library/doctest.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-15 16:12:02 (GMT)
committerGitHub <noreply@github.com>2020-12-15 16:12:02 (GMT)
commit3ca2b8fd75043927f0bb03b8dac72d32beae255d (patch)
tree377eba1ac1a9a69d622a62fd3b33a86f82779d95 /Doc/library/doctest.rst
parentceb420251c1d635520049fbb7b5269a73d63fb58 (diff)
downloadcpython-3ca2b8fd75043927f0bb03b8dac72d32beae255d.zip
cpython-3ca2b8fd75043927f0bb03b8dac72d32beae255d.tar.gz
cpython-3ca2b8fd75043927f0bb03b8dac72d32beae255d.tar.bz2
bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779)
atexit._run_exitfuncs() now logs callback exceptions using sys.unraisablehook, rather than logging them directly into sys.stderr and raising the last exception. Run GeneralTest of test_atexit in a subprocess since it calls atexit._clear() which clears all atexit callbacks. _PyAtExit_Fini() sets state->callbacks to NULL.
Diffstat (limited to 'Doc/library/doctest.rst')
0 files changed, 0 insertions, 0 deletions