+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
+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
+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
+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
'Bastion', 'compiler', 'dircache', 'fpformat',
'ihooks', 'mhlib')
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
- 'cdplayer', 'CL', 'cl'),
+ 'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
+ 'gl'),
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
'icglue', 'Nav', 'MacOS', 'aepack',
'aetools', 'aetypes', 'applesingle',
Extension Modules
-----------------
-- Support for Windows9x has been removed from the winsound module.
+- Support for Windows 9x has been removed from the winsound module.
- bsddb module updated to version 4.6.4.
Library
-------
+- The DEVICE, GL, gl, and cgen modules (which indirectly includes cgensupport)
+ have been deprecated for removal in Python 3.0.
+
- The ConfigParser module has been renamed 'configparser'. The old
name is now deprecated.
#
# 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
void
initgl(void)
{
+
+ if (PyErr_WarnPy3k("the gl module has been removed in "
+ "Python 3.0", 2) < 0)
+ return;
+
(void) Py_InitModule("gl", gl_methods);
}