[Python-checkins] r63228 - in python/trunk: Lib/plat-irix5/cddb.py Lib/plat-irix6/cddb.py Lib/test/test_py3kwarn.py Misc/NEWS
brett.cannon
python-checkins at python.org
Wed May 14 22:34:22 CEST 2008
Author: brett.cannon
Date: Wed May 14 22:34:22 2008
New Revision: 63228
Log:
The cddb module for IRIX has been deprecated for 3.0.
Modified:
python/trunk/Lib/plat-irix5/cddb.py
python/trunk/Lib/plat-irix6/cddb.py
python/trunk/Lib/test/test_py3kwarn.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/plat-irix5/cddb.py
==============================================================================
--- python/trunk/Lib/plat-irix5/cddb.py (original)
+++ python/trunk/Lib/plat-irix5/cddb.py Wed May 14 22:34:22 2008
@@ -13,6 +13,9 @@
# It is also possible to set the above mentioned variables to new values.
# You can then use c.write() to write out the changed values to the
# .cdplayerrc file.
+from warnings import warnpy3k
+warnpy3k("the cddb module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import string, posix, os
Modified: python/trunk/Lib/plat-irix6/cddb.py
==============================================================================
--- python/trunk/Lib/plat-irix6/cddb.py (original)
+++ python/trunk/Lib/plat-irix6/cddb.py Wed May 14 22:34:22 2008
@@ -13,6 +13,9 @@
# It is also possible to set the above mentioned variables to new values.
# You can then use c.write() to write out the changed values to the
# .cdplayerrc file.
+from warnings import warnpy3k
+warnpy3k("the cddb module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import string, posix, os
Modified: python/trunk/Lib/test/test_py3kwarn.py
==============================================================================
--- python/trunk/Lib/test/test_py3kwarn.py (original)
+++ python/trunk/Lib/test/test_py3kwarn.py Wed May 14 22:34:22 2008
@@ -131,7 +131,7 @@
all_platforms = ('audiodev', 'imputil', 'mutex', 'user', 'new', 'rexec',
'Bastion', 'compiler', 'dircache', 'fpformat',
'ihooks', 'mhlib')
- inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd'),
+ inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb'),
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
'icglue', 'Nav', 'MacOS', 'aepack',
'aetools', 'aetypes', 'applesingle',
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Wed May 14 22:34:22 2008
@@ -32,6 +32,8 @@
Library
-------
+- The cddb module for IRIX has been deprecated for removal in Python 3.0.
+
- The cd and CD modules for IRIX have been deprecated for removal in
Python 3.0.
More information about the Python-checkins
mailing list