PythonQt icon indicating copy to clipboard operation
PythonQt copied to clipboard

Support for Python global interpreter lock

Open patmarion opened this issue 5 years ago • 2 comments

Hi, I've found that it's possible to mix PythonQt code with PyQt code but you can get crashes due to the python global interpreter lock. A patch like this seems to resolve the issue:

https://github.com/patmarion/PythonQt/commit/4abd4df9e1251996c809161874c4bf45ebd5e86e

Has anyone done something similar?

patmarion avatar Oct 04 '19 15:10 patmarion

Thanks for the info. I haven't.

Should we propose this as patch to upstream pythonqt ? See https://github.com/MeVisLab/pythonqt

jcfr avatar Oct 04 '19 18:10 jcfr

Are you sure this is enough so that you can really use both PythonQt and PyQt in the same session? Do they end up being two complementary ways to talk to the same Qt objects?

pieper avatar Oct 04 '19 20:10 pieper