• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Backward compatible module CL.
2# All relevant symbols are now defined in the module cl.
3from warnings import warnpy3k
4warnpy3k("the CL module has been removed in Python 3.0", stacklevel=2)
5del warnpy3k
6
7try:
8    from cl import *
9except ImportError:
10    from CL_old import *
11else:
12    del CompressImage
13    del DecompressImage
14    del GetAlgorithmName
15    del OpenCompressor
16    del OpenDecompressor
17    del QueryAlgorithms
18    del QueryMaxHeaderSize
19    del QueryScheme
20    del QuerySchemeFromName
21    del SetDefault
22    del SetMax
23    del SetMin
24    try:
25        del cvt_type
26    except NameError:
27        pass
28    del error
29