summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-12-06 09:53:52 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-12-06 09:53:52 (GMT)
commit8ef46be26ad1a3a5c4b542cf95832a4aca12c4ff (patch)
tree49c75f890c5846dfe4f88ff3f9478b18eaa36763 /Misc
parent3d3e9ffa8e7af0457621309b4fce076411d38ce6 (diff)
downloadcpython-8ef46be26ad1a3a5c4b542cf95832a4aca12c4ff.zip
cpython-8ef46be26ad1a3a5c4b542cf95832a4aca12c4ff.tar.gz
cpython-8ef46be26ad1a3a5c4b542cf95832a4aca12c4ff.tar.bz2
catch_warnings() calls showwarning() if overriden
Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call warnings.showwarning() if it was overriden inside the context manager.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a29e50a..bfe3cc9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,9 @@ Core and Builtins
Library
-------
+- Issue #28089: Fix a regression introduced in warnings.catch_warnings():
+ call warnings.showwarning() if it was overriden inside the context manager.
+
- Issue #27172: To assist with upgrades from 2.7, the previously documented
deprecation of ``inspect.getfullargspec()`` has been reversed. This decision
may be revisited again after the Python 2.7 branch is no longer officially