commit | d68f5171ebb2f3404548c846523e9e43308a4130 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Wed May 29 15:54:55 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Wed May 29 15:54:55 2002 +0000 |
tree | e04245cfbfd036be2c9f8b30c09459ddbbe27710 | |
parent | e85ee8d815ed5fa3cbbc2770cd09bcbaf605182c [diff] [blame] |
As discussed on python-dev, add a mechanism to indicate features that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
diff --git a/Lib/warnings.py b/Lib/warnings.py index 435f1a7..fc6154f 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py
@@ -262,3 +262,4 @@ else: _processoptions(sys.warnoptions) filterwarnings("ignore", category=OverflowWarning, append=1) + filterwarnings("ignore", category=PendingDeprecationWarning, append=1)