summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-24 23:33:12 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-24 23:33:12 (GMT)
commite091d32a7ac514a415161043c4a70e1765363c5a (patch)
treef1c6f637623209de8eab8ce03f8e9596f8909415 /Misc
parent3aac0adfe01b30fc58c638c5ab61844e80b3fd66 (diff)
parent27461683a9491efe58331a695c856fbb28bd4cba (diff)
downloadcpython-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 70ff3de..f483735 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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).