[Import-SIG] A finer-grained import lock
Antoine Pitrou
solipsis at pitrou.net
Sat May 5 20:09:16 CEST 2012
Hello,
This patch fixes the long-standing issue of deadlocks with a
combination of starting threads and importing modules. It also makes
PyImport_ImportModuleNoBlock() basically useless. The idea is to have a
separate lock for each module being imported, and only use the global
import lock around a couple of operations (such as creating the module
locks themselves).
http://bugs.python.org/issue9260
Regards
Antoine.
More information about the Import-SIG
mailing list