PEP 565: mention warnings.hide_warnings proposal · python/peps@6e93c8d

Original file line numberDiff line numberDiff line change

@@ -324,6 +324,11 @@ changes in 3.7:

324324

* changing the behaviour in debug builds to show more of the warnings that are

325325

off by default in regular interpeter builds: https://bugs.python.org/issue32088

326326
327+

Independently of the proposed changes to the default filters in this PEP,

328+

issue 32229 [9_] is a proposal to add a ``warnings.hide_warnings`` API to

329+

make it simpler for application developers to hide warnings during normal

330+

operation, while easily making them visible when testing.

331+
327332
328333

References

329334

==========

@@ -352,6 +357,8 @@ References

352357

.. [8] IPython's DeprecationWarning auto-configuration

353358

(https://github.com/ipython/ipython/blob/6.2.x/IPython/core/interactiveshell.py#L619)

354359
360+

.. [9] ``warnings.hide_warnings`` API proposal

361+

(https://bugs.python.org/issue32229)

355362
356363

Copyright

357364

=========