PyImport_ImportModule deadlocks

jms@bughunter.ca justin.seitz at gmail.com
Thu Aug 28 10:22:50 EDT 2008


Hey all,

I have an embedded Python shell and everything works fine, however, in
my stdout catcher (in C to grab tracebacks) for some reason when I do
a :

PyImport_ImportModule( "sys" )

It deadlocks the process, is there a need for me to acquire locks
inside of my stdout catching function before calling that import?



More information about the Python-list mailing list