diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-05-29 15:54:55 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-05-29 15:54:55 (GMT) |
commit | d68f5171ebb2f3404548c846523e9e43308a4130 (patch) | |
tree | e04245cfbfd036be2c9f8b30c09459ddbbe27710 /Lib/warnings.py | |
parent | e85ee8d815ed5fa3cbbc2770cd09bcbaf605182c (diff) | |
download | cpython-d68f5171ebb2f3404548c846523e9e43308a4130.zip cpython-d68f5171ebb2f3404548c846523e9e43308a4130.tar.gz cpython-d68f5171ebb2f3404548c846523e9e43308a4130.tar.bz2 |
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning).
Docs could be improved.
Diffstat (limited to 'Lib/warnings.py')
-rw-r--r-- | Lib/warnings.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ if __name__ == "__main__": else: _processoptions(sys.warnoptions) filterwarnings("ignore", category=OverflowWarning, append=1) + filterwarnings("ignore", category=PendingDeprecationWarning, append=1) |