summaryrefslogtreecommitdiffstats
path: root/Modules/cgen.py
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 /Modules/cgen.py
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 'Modules/cgen.py')
-rw-r--r--Modules/cgen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/cgen.py b/Modules/cgen.py
index f07d984..c63962b 100644
--- a/Modules/cgen.py
+++ b/Modules/cgen.py
@@ -17,6 +17,9 @@
#
# XXX BUG return arrays generate wrong code
# XXX need to change error returns into gotos to free mallocked arrays
+from warnings import warnpy3k
+warnpy3k("the cgen module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import string