[Python-checkins] python/dist/src/Lib warnings.py,1.13,1.14
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Wed, 29 May 2002 08:54:56 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv13399/Lib
Modified Files:
warnings.py
Log Message:
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning).
Docs could be improved.
Index: warnings.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/warnings.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** warnings.py 16 Apr 2002 01:51:25 -0000 1.13
--- warnings.py 29 May 2002 15:54:53 -0000 1.14
***************
*** 263,264 ****
--- 263,265 ----
_processoptions(sys.warnoptions)
filterwarnings("ignore", category=OverflowWarning, append=1)
+ filterwarnings("ignore", category=PendingDeprecationWarning, append=1)