diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-15 04:13:19 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-15 04:13:19 (GMT) |
commit | 518c5da219ece87e0ad30af1fb110db0f1dc5dfd (patch) | |
tree | f1a0084b6f57cf5d9b60607ce509bc6d75be207c | |
parent | cd2de082571042f0cf95e06f66c4cc727e82b541 (diff) | |
download | cpython-518c5da219ece87e0ad30af1fb110db0f1dc5dfd.zip cpython-518c5da219ece87e0ad30af1fb110db0f1dc5dfd.tar.gz cpython-518c5da219ece87e0ad30af1fb110db0f1dc5dfd.tar.bz2 |
Deprecate SV for removal in 3.0.
-rwxr-xr-x | Lib/plat-irix5/SV.py | 4 | ||||
-rw-r--r-- | Lib/plat-irix6/SV.py | 4 | ||||
-rw-r--r-- | Lib/test/test_py3kwarn.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
4 files changed, 11 insertions, 1 deletions
diff --git a/Lib/plat-irix5/SV.py b/Lib/plat-irix5/SV.py index db8efe5..e9e14f8 100755 --- a/Lib/plat-irix5/SV.py +++ b/Lib/plat-irix5/SV.py @@ -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 diff --git a/Lib/plat-irix6/SV.py b/Lib/plat-irix6/SV.py index db8efe5..e9e14f8 100644 --- a/Lib/plat-irix6/SV.py +++ b/Lib/plat-irix6/SV.py @@ -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 diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index 6f53ff0..2a591bc 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -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', @@ -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 |