[Python-Dev] Deadlock by a second import in a thread

Christian Heimes lists at cheimes.de
Sat Oct 20 01:13:53 CEST 2007


Facundo Batista wrote:
> What I did *not* find, and why I'm asking here, is how to solve it.
> 
> Exists a known solution to this?

I know a possible solution. You could write a patch that moves the
imports in C code to the module init function and stores the modules in
a global static variable.

Christian



More information about the Python-Dev mailing list