[Python-checkins] r62888 - in python/trunk: Lib/stringold.py Misc/NEWS

brett.cannon python-checkins at python.org
Thu May 8 21:52:46 CEST 2008


Author: brett.cannon
Date: Thu May  8 21:52:45 2008
New Revision: 62888

Log:
Deprecate stringold for removal in 3.0.


Modified:
   python/trunk/Lib/stringold.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/stringold.py
==============================================================================
--- python/trunk/Lib/stringold.py	(original)
+++ python/trunk/Lib/stringold.py	Thu May  8 21:52:45 2008
@@ -18,6 +18,9 @@
 octdigits -- a string containing all characters considered octal digits
 
 """
+from warnings import warnpy3k
+warnpy3k("the stringold module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
 
 # Some strings for ctype-style character classification
 whitespace = ' \t\n\r\v\f'

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu May  8 21:52:45 2008
@@ -18,7 +18,9 @@
 Library
 -------
 
-- The mutex module has bene deprecated for removal in Python 3.0.
+- The stringold module has been deprecated for removal in Python 3.0.
+
+- The mutex module has been deprecated for removal in Python 3.0.
 
 - The imputil module has been deprecated for removal in Python 3.0.
 


More information about the Python-checkins mailing list