Deprecate SV for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-15 04:13:19 +00:00
parent cd2de08257
commit 518c5da219
4 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,7 @@
from warnings import warnpy3k
warnpy3k("the SV module has been removed in Python 3.0", stacklevel=2)
del warnpy3k
NTSC_XMAX = 640
NTSC_YMAX = 480
PAL_XMAX = 768

View File

@ -1,3 +1,7 @@
from warnings import warnpy3k
warnpy3k("the SV module has been removed in Python 3.0", stacklevel=2)
del warnpy3k
NTSC_XMAX = 640
NTSC_YMAX = 480
PAL_XMAX = 768

View File

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

View File

@ -32,6 +32,8 @@ Extension Modules
Library
-------
- The SV module from IRIX has been deprecated for removal in Python 3.0.
- 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