Mercurial > cpython-lru_cache-weakref
changeset 47044:59bcdfd27501 legacy-trunk
Deprecate SV for removal in 3.0.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Thu, 15 May 2008 04:13:19 +0000 |
| parents | 80435bc7aac4 |
| children | d4aced33d57a |
| files | Lib/plat-irix5/SV.py Lib/plat-irix6/SV.py Lib/test/test_py3kwarn.py Misc/NEWS |
| diffstat | 4 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Lib/plat-irix5/SV.py Thu May 15 03:51:21 2008 +0000 +++ b/Lib/plat-irix5/SV.py Thu May 15 04:13:19 2008 +0000 @@ -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
--- a/Lib/plat-irix6/SV.py Thu May 15 03:51:21 2008 +0000 +++ b/Lib/plat-irix6/SV.py Thu May 15 04:13:19 2008 +0000 @@ -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
--- a/Lib/test/test_py3kwarn.py Thu May 15 03:51:21 2008 +0000 +++ b/Lib/test/test_py3kwarn.py Thu May 15 04:13:19 2008 +0000 @@ -136,7 +136,7 @@ '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',
--- a/Misc/NEWS Thu May 15 03:51:21 2008 +0000 +++ b/Misc/NEWS Thu May 15 04:13:19 2008 +0000 @@ -32,6 +32,8 @@ 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
