PEP 565: mention warnings.hide_warnings proposal · python/peps@6e93c8d (original) (raw)

Original file line number Diff line number Diff line change
@@ -324,6 +324,11 @@ changes in 3.7:
324 324 * changing the behaviour in debug builds to show more of the warnings that are
325 325 off by default in regular interpeter builds: https://bugs.python.org/issue32088
326 326
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 +
327 332
328 333 References
329 334 ==========
@@ -352,6 +357,8 @@ References
352 357 .. [8] IPython's DeprecationWarning auto-configuration
353 358 (https://github.com/ipython/ipython/blob/6.2.x/IPython/core/interactiveshell.py#L619)
354 359
360 +.. [9] ``warnings.hide_warnings`` API proposal
361 + (https://bugs.python.org/issue32229)
355 362
356 363 Copyright
357 364 =========