mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut
This commit is contained in:
parent
aa31d52b80
commit
2d0bcd7ca9
1 changed files with 2 additions and 1 deletions
|
@ -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
|
the command-line options passed to :option:`-W` and calls to
|
||||||
:func:`filterwarnings`.
|
: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
|
* :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
|
twice; in this case this warning is either printed (``-b``) or turned into an
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue