diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-06 09:53:52 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-06 09:53:52 (GMT) |
commit | 8ef46be26ad1a3a5c4b542cf95832a4aca12c4ff (patch) | |
tree | 49c75f890c5846dfe4f88ff3f9478b18eaa36763 /Misc | |
parent | 3d3e9ffa8e7af0457621309b4fce076411d38ce6 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |