Deprecate readcd for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-15 03:51:21 +00:00
parent 11ae6e7151
commit cd2de08257
4 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,7 @@
# Class interface to the CD module.
from warnings import warnpy3k
warnpy3k("the readcd module has been removed in Python 3.0", stacklevel=2)
del warnpy3k
import cd, CD

View File

@ -1,4 +1,7 @@
# Class interface to the CD module.
from warnings import warnpy3k
warnpy3k("the readcd module has been removed in Python 3.0", stacklevel=2)
del warnpy3k
import cd, CD

View File

@ -135,7 +135,8 @@ class TestStdlibRemovals(unittest.TestCase):
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
'fm', 'GET', 'GLWS', 'imgfile', 'IN',
'IOCTL', 'jpeg', 'panel'),
'IOCTL', 'jpeg', 'panel', 'panelparser',
'readcd'),
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
'icglue', 'Nav', 'MacOS', 'aepack',
'aetools', 'aetypes', 'applesingle',

View File

@ -32,6 +32,8 @@ Extension Modules
Library
-------
- The readcd module from IRIX has been deprecated for removal in Python 3.0.
- The panelparser module from IRIX has been deprecated for removal in
Python 3.0.