[Python-checkins] r63233 - in python/trunk: Lib/plat-irix5/cdplayer.py Lib/plat-irix6/cdplayer.py Lib/test/test_py3kwarn.py Misc/NEWS
brett.cannon
python-checkins at python.org
Wed May 14 23:08:41 CEST 2008
Author: brett.cannon
Date: Wed May 14 23:08:41 2008
New Revision: 63233
Log:
Deprecate the cdplayer module for IRIX for 3.0.
Modified:
python/trunk/Lib/plat-irix5/cdplayer.py
python/trunk/Lib/plat-irix6/cdplayer.py
python/trunk/Lib/test/test_py3kwarn.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/plat-irix5/cdplayer.py
==============================================================================
--- python/trunk/Lib/plat-irix5/cdplayer.py (original)
+++ python/trunk/Lib/plat-irix5/cdplayer.py Wed May 14 23:08:41 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 cdplayer module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
cdplayerrc = '.cdplayerrc'
Modified: python/trunk/Lib/plat-irix6/cdplayer.py
==============================================================================
--- python/trunk/Lib/plat-irix6/cdplayer.py (original)
+++ python/trunk/Lib/plat-irix6/cdplayer.py Wed May 14 23:08:41 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 cdplayer module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
cdplayerrc = '.cdplayerrc'
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 23:08:41 2008
@@ -131,7 +131,8 @@
all_platforms = ('audiodev', 'imputil', 'mutex', 'user', 'new', 'rexec',
'Bastion', 'compiler', 'dircache', 'fpformat',
'ihooks', 'mhlib')
- inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb'),
+ inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
+ 'cdplayer'),
'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 23:08:41 2008
@@ -32,6 +32,8 @@
Library
-------
+- The cdplayer module for IRIX has been deprecated for removal in Python 3.0.
+
- 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
More information about the Python-checkins
mailing list