Reentrancy of Python interpreter

Hrvoje Niksic hniksic at xemacs.org
Mon Oct 1 15:12:22 EDT 2007


Brad Johnson <Brad.Johnson at ballardtech.com> writes:

> I have a place where I execute a Python command that calls into C++
> code which then in turn calls back into Python using the same
> interpreter. I get a fatal error which is "PyThreadStage_Get: no
> current thread."

Does the C++ code call into the interpreter from a different thread?



More information about the Python-list mailing list