summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 02:33:55 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-15 02:33:55 (GMT)
commit044616aa244a7b78c27d774143ad17a72467d4ef (patch)
tree538a2b2024640ece6b792627f1d4829de1ea129a /Lib/plat-irix5
parent3a1693a989e4430490e5da25a055042eb6ac3794 (diff)
downloadcpython-044616aa244a7b78c27d774143ad17a72467d4ef.zip
cpython-044616aa244a7b78c27d774143ad17a72467d4ef.tar.gz
cpython-044616aa244a7b78c27d774143ad17a72467d4ef.tar.bz2
Deprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-xLib/plat-irix5/DEVICE.py4
-rwxr-xr-xLib/plat-irix5/GL.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/Lib/plat-irix5/DEVICE.py b/Lib/plat-irix5/DEVICE.py
index 7ace8cb..14fd534 100755
--- a/Lib/plat-irix5/DEVICE.py
+++ b/Lib/plat-irix5/DEVICE.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the DEVICE module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
NULLDEV = 0
BUTOFFSET = 1
VALOFFSET = 256
diff --git a/Lib/plat-irix5/GL.py b/Lib/plat-irix5/GL.py
index 9f02f65..d0e0074 100755
--- a/Lib/plat-irix5/GL.py
+++ b/Lib/plat-irix5/GL.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the GL module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
NULL = 0
FALSE = 0
TRUE = 1