diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-24 23:33:12 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-24 23:33:12 (GMT) |
commit | e091d32a7ac514a415161043c4a70e1765363c5a (patch) | |
tree | f1c6f637623209de8eab8ce03f8e9596f8909415 /Misc | |
parent | 3aac0adfe01b30fc58c638c5ab61844e80b3fd66 (diff) | |
parent | 27461683a9491efe58331a695c856fbb28bd4cba (diff) | |
download | cpython-e091d32a7ac514a415161043c4a70e1765363c5a.zip cpython-e091d32a7ac514a415161043c4a70e1765363c5a.tar.gz cpython-e091d32a7ac514a415161043c4a70e1765363c5a.tar.bz2 |
Merge 3.5
Issue #21925: warnings.formatwarning() now catches exceptions when calling
linecache.getline() and tracemalloc.get_object_traceback() to be able to log
ResourceWarning emitted late during the Python shutdown process.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -232,6 +232,11 @@ Core and Builtins Library ------- +- Issue #21925: :func:`warnings.formatwarning` now catches exceptions when + calling :func;`linecache.getline` and + :func:`tracemalloc.get_object_traceback` to be able to log + :exc:`ResourceWarning` emitted late during the Python shutdown process. + - Issue #23848: On Windows, faulthandler.enable() now also installs an exception handler to dump the traceback of all Python threads on any Windows exception, not only on UNIX signals (SIGSEGV, SIGFPE, SIGABRT). |