mirror of https://github.com/python/cpython
Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut
This commit is contained in:
parent
aa31d52b80
commit
2d0bcd7ca9
|
@ -167,7 +167,8 @@ By default, Python installs several warning filters, which can be overridden by
|
|||
the command-line options passed to :option:`-W` and calls to
|
||||
:func:`filterwarnings`.
|
||||
|
||||
* :exc:`PendingDeprecationWarning`, and :exc:`ImportWarning` are ignored.
|
||||
* :exc:`DeprecationWarning` and :exc:`PendingDeprecationWarning`, and
|
||||
:exc:`ImportWarning` are ignored.
|
||||
|
||||
* :exc:`BytesWarning` is ignored unless the :option:`-b` option is given once or
|
||||
twice; in this case this warning is either printed (``-b``) or turned into an
|
||||
|
|
Loading…
Reference in New Issue