F
Florian Schulze
Hi!
I want to check from C that the Python Interpreter is still running and
it's save to call things like PySys_GetObject, PyFile_WriteString etc. I
need this in a C function which might be called during shutdown in a
program embedding Python. Currently I get this error:
Fatal Python error: PyThreadState_Get: no current thread
Abort!
Regards,
Florian
I want to check from C that the Python Interpreter is still running and
it's save to call things like PySys_GetObject, PyFile_WriteString etc. I
need this in a C function which might be called during shutdown in a
program embedding Python. Currently I get this error:
Fatal Python error: PyThreadState_Get: no current thread
Abort!
Regards,
Florian