PEP 565: mention warnings.hide_warnings proposal

This commit is contained in:
Nick Coghlan 2017-12-06 14:48:36 +10:00 committed by GitHub
parent fb6cdf64c3
commit 6e93c8d2e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -324,6 +324,11 @@ changes in 3.7:
* changing the behaviour in debug builds to show more of the warnings that are
off by default in regular interpeter builds: https://bugs.python.org/issue32088
Independently of the proposed changes to the default filters in this PEP,
issue 32229 [9_] is a proposal to add a ``warnings.hide_warnings`` API to
make it simpler for application developers to hide warnings during normal
operation, while easily making them visible when testing.
References
==========
@ -352,6 +357,8 @@ References
.. [8] IPython's DeprecationWarning auto-configuration
(https://github.com/ipython/ipython/blob/6.2.x/IPython/core/interactiveshell.py#L619)
.. [9] ``warnings.hide_warnings`` API proposal
(https://bugs.python.org/issue32229)
Copyright
=========