Reentrancy of Python interpreter

Hrvoje Niksic hniksic at
Mon Oct 1 21:12:22 CEST 2007

Brad Johnson <Brad.Johnson at> 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