diff --git a/Lib/plat-irix5/cdplayer.py b/Lib/plat-irix5/cdplayer.py index 1c0168f7d2e..9e4ba9c3187 100755 --- a/Lib/plat-irix5/cdplayer.py +++ b/Lib/plat-irix5/cdplayer.py @@ -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' diff --git a/Lib/plat-irix6/cdplayer.py b/Lib/plat-irix6/cdplayer.py index d4bc7328ac9..0f7983b0be6 100644 --- a/Lib/plat-irix6/cdplayer.py +++ b/Lib/plat-irix6/cdplayer.py @@ -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' diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index eca1989a2c9..2b9eac43e4b 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -131,7 +131,8 @@ class TestStdlibRemovals(unittest.TestCase): 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', diff --git a/Misc/NEWS b/Misc/NEWS index af174e15767..659cf72316a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -32,6 +32,8 @@ Extension Modules 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