Re: PyImport_ImportModule deadlocks

2008-08-29 Thread Gabriel Genellina
En Thu, 28 Aug 2008 11:22:50 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribi�: 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 the

PyImport_ImportModule deadlocks

2008-08-28 Thread [EMAIL PROTECTED]
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