[Python-checkins] python/dist/src/Misc NEWS,1.410,1.411
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Wed, 29 May 2002 08:54:57 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv13399/Misc
Modified Files:
NEWS
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: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.410
retrieving revision 1.411
diff -C2 -d -r1.410 -r1.411
*** NEWS 27 May 2002 15:08:24 -0000 1.410
--- NEWS 29 May 2002 15:54:54 -0000 1.411
***************
*** 7,10 ****
--- 7,16 ----
Core and builtins
+ - A new warning PendingDeprecationWarning was added to provide
+ direction on features which are in the process of being deprecated.
+ The warning will not be printed by default. To see the pending
+ deprecations, use -Walways::PendingDeprecationWarning::
+ as a command line option or warnings.filterwarnings() in code.
+
- A new type object, 'string', is added. This is a common base type
for 'str' and 'unicode', and can be used instead of