# Backward compatible module CL.
# All relevant symbols are now defined in the module cl.
+from warnings import warnpy3k
+warnpy3k("the CL module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
try:
from cl import *
except ImportError:
#
# originalFormat parameter values
#
+from warnings import warnpy3k
+warnpy3k("the CL_old module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
MAX_NUMBER_OF_ORIGINAL_FORMATS = 32
# Audio
# Backward compatible module CL.
# All relevant symbols are now defined in the module cl.
+from warnings import warnpy3k
+warnpy3k("the CL module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
try:
from cl import *
except ImportError:
'Bastion', 'compiler', 'dircache', 'fpformat',
'ihooks', 'mhlib')
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
- 'cdplayer'),
+ 'cdplayer', 'CL', 'cl'),
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
'icglue', 'Nav', 'MacOS', 'aepack',
'aetools', 'aetypes', 'applesingle',
Library
-------
+- The CL, CL_old, and cl modules for IRIX have been deprecated for removal in
+ Python 3.0.
+
- The cdplayer module for IRIX has been deprecated for removal in Python 3.0.
- The cddb module for IRIX has been deprecated for removal in Python 3.0.
initcl(void)
{
PyObject *m, *d, *x;
-
+
+ if (PyErr_WarnPy3k("the cl module has been removed in "
+ "Python 3.0", 2) < 0)
+ return;
+
m = Py_InitModule("cl", cl_methods);
if (m == NULL)
return;