[Python-checkins] cpython (2.7): Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut

sandro.tosi python-checkins at python.org
Sat Apr 28 12:23:52 CEST 2012


http://hg.python.org/cpython/rev/0ad724738f6a
changeset:   76594:0ad724738f6a
branch:      2.7
parent:      76591:1e5a483248ce
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sat Apr 28 12:20:57 2012 +0200
summary:
  Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut

files:
  Doc/library/warnings.rst |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -167,7 +167,8 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list