B
Brad Johnson
I have embedded a single threaded instance of the Python interpreter in my
application.
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."
I guess I understand why I can't have two invocations of the same interpreter
thread in one call stack, but how would I go about solving this?
application.
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."
I guess I understand why I can't have two invocations of the same interpreter
thread in one call stack, but how would I go about solving this?