mirror of https://github.com/python/cpython
Deprecate the cdplayer module for IRIX for 3.0.
This commit is contained in:
parent
9eebe49d07
commit
54c77aa459
|
@ -13,6 +13,9 @@
|
||||||
# It is also possible to set the above mentioned variables to new values.
|
# 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
|
# You can then use c.write() to write out the changed values to the
|
||||||
# .cdplayerrc file.
|
# .cdplayerrc file.
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the cdplayer module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
cdplayerrc = '.cdplayerrc'
|
cdplayerrc = '.cdplayerrc'
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,9 @@
|
||||||
# It is also possible to set the above mentioned variables to new values.
|
# 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
|
# You can then use c.write() to write out the changed values to the
|
||||||
# .cdplayerrc file.
|
# .cdplayerrc file.
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the cdplayer module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
cdplayerrc = '.cdplayerrc'
|
cdplayerrc = '.cdplayerrc'
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,8 @@ class TestStdlibRemovals(unittest.TestCase):
|
||||||
all_platforms = ('audiodev', 'imputil', 'mutex', 'user', 'new', 'rexec',
|
all_platforms = ('audiodev', 'imputil', 'mutex', 'user', 'new', 'rexec',
|
||||||
'Bastion', 'compiler', 'dircache', 'fpformat',
|
'Bastion', 'compiler', 'dircache', 'fpformat',
|
||||||
'ihooks', 'mhlib')
|
'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',
|
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||||
'aetools', 'aetypes', 'applesingle',
|
'aetools', 'aetypes', 'applesingle',
|
||||||
|
|
|
@ -32,6 +32,8 @@ Extension Modules
|
||||||
Library
|
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 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
|
- The cd and CD modules for IRIX have been deprecated for removal in
|
||||||
|
|
Loading…
Reference in New Issue