]> granicus.if.org Git - python/commitdiff
Deprecate GET from IRIX for removal in 3.0.
authorBrett Cannon <bcannon@gmail.com>
Thu, 15 May 2008 03:27:12 +0000 (03:27 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 15 May 2008 03:27:12 +0000 (03:27 +0000)
Lib/plat-irix5/GET.py
Lib/plat-irix6/GET.py
Lib/test/test_py3kwarn.py
Misc/NEWS

index 9c3d7d695209538b55f525f2f709df677655473c..842a3aa9a1469f7bd59c5e6c06b201048648508c 100755 (executable)
@@ -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
index 9c3d7d695209538b55f525f2f709df677655473c..842a3aa9a1469f7bd59c5e6c06b201048648508c 100644 (file)
@@ -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
index 54b54f13af3d5190eef5c4cccb0af641494ec450..bc4a7a76c245501c7aef7c8b5a667e70257b4b6e 100644 (file)
@@ -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',
index cfa3c3a9dd0b44f75a41bda5e0ec34a9eab11618..a1d6365487f7237359f7d3de333195e8ddb4e1c9 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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