mce2

Results 5 comments of mce2

I found that this happens in multithread environment: if I call python function with named parameters in one thread, and this call is not finished when I call another function...

I know about GIL, and all my calls are executed between gilstate := PyGILState_Ensure(); PyGILState_Release(gilstate); The python code works fine if I execute it via TPythonEngine.ExecString(). The problem is in...

Assumption that one can enter only one function using VarPyth interface, is incorrect. GIL lock may be released and re-acquired inside python code (during time.sleep, IO operations, in GUI message...

I'm not sure if the patch I currently use can cause other problems. I'll try to investigate the problem more thorougly and make a general silution.

You are absolutely right, my code is not a resolution but a dirty workaround. However it looks like GIL will do the magic, and this code should work correct. As...