Staging
v0.5.1
https://github.com/python/cpython
Revision 512f2eee1b677c023116f8f96e12f65f385b596f authored by Armin Rigo on 09 November 2004, 15:35:23 UTC, committed by Armin Rigo on 09 November 2004, 15:35:23 UTC
* using malloc() and free() directly, as explained in the new comment
* coding style in the PyGILState_*() functions
* the recent destroy-tstate-without-holding-the-GIL bug
* lock fixes and many more comments in thread.c
1 parent 3497155
Raw File
Tip revision: 512f2eee1b677c023116f8f96e12f65f385b596f authored by Armin Rigo on 09 November 2004, 15:35:23 UTC
Backported thread fixes from 2.4 (by mostly copying pystate.c over from 2.4):
Tip revision: 512f2ee
CL.py
# Backward compatible module CL.
# All relevant symbols are now defined in the module cl.
try:
	from cl import *
except ImportError:
	from CL_old import *
else:
	del CompressImage
	del DecompressImage
	del GetAlgorithmName
	del OpenCompressor
	del OpenDecompressor
	del QueryAlgorithms
	del QueryMaxHeaderSize
	del QueryScheme
	del QuerySchemeFromName
	del SetDefault
	del SetMax
	del SetMin
	try:
		del cvt_type
	except NameError:
		pass
	del error
back to top