diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-15 03:27:12 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-15 03:27:12 (GMT) |
commit | 82bd94e6510aed32d022267a56f398f926eb0907 (patch) | |
tree | 38188f7834db04fa148be8584bcf389f94a86b56 | |
parent | 75ba46509904cadf653d40c15da3b647a313a5b1 (diff) | |
download | cpython-82bd94e6510aed32d022267a56f398f926eb0907.zip cpython-82bd94e6510aed32d022267a56f398f926eb0907.tar.gz cpython-82bd94e6510aed32d022267a56f398f926eb0907.tar.bz2 |
Deprecate GET from IRIX for removal in 3.0.
-rwxr-xr-x | Lib/plat-irix5/GET.py | 3 | ||||
-rw-r--r-- | Lib/plat-irix6/GET.py | 3 | ||||
-rw-r--r-- | Lib/test/test_py3kwarn.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
4 files changed, 9 insertions, 1 deletions
diff --git a/Lib/plat-irix5/GET.py b/Lib/plat-irix5/GET.py index 9c3d7d6..842a3aa 100755 --- a/Lib/plat-irix5/GET.py +++ b/Lib/plat-irix5/GET.py @@ -1,4 +1,7 @@ # Symbols from <gl/get.h> +from warnings import warnpy3k +warnpy3k("the GET module has been removed in Python 3.0", stacklevel=2) +del warnpy3k BCKBUFFER = 0x1 FRNTBUFFER = 0x2 diff --git a/Lib/plat-irix6/GET.py b/Lib/plat-irix6/GET.py index 9c3d7d6..842a3aa 100644 --- a/Lib/plat-irix6/GET.py +++ b/Lib/plat-irix6/GET.py @@ -1,4 +1,7 @@ # Symbols from <gl/get.h> +from warnings import warnpy3k +warnpy3k("the GET module has been removed in Python 3.0", stacklevel=2) +del warnpy3k BCKBUFFER = 0x1 FRNTBUFFER = 0x2 diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index 54b54f1..bc4a7a7 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -134,7 +134,7 @@ class TestStdlibRemovals(unittest.TestCase): inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb', 'cdplayer', 'CL', 'cl', 'DEVICE', 'GL', 'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl', - 'fm'), + 'fm', 'GET'), 'darwin' : ('autoGIL', 'Carbon', 'OSATerminology', 'icglue', 'Nav', 'MacOS', 'aepack', 'aetools', 'aetypes', 'applesingle', @@ -32,6 +32,8 @@ Extension Modules Library ------- +- The GET module from IRIX has been deprecate for removal in Python 3.0. + - The fm module from IRIX has been deprecated for removal in Python 3.0. - The FL, flp, and fl modules from IRIX have been deprecated for removal in |