[PyQt] PyKDE4 Update

Hans-Peter Jansen hpj at urpla.net
Tue Sep 4 10:39:18 BST 2007

Am Dienstag, 4. September 2007 10:56 schrieb Andreas Pakulat:
> > but the threading API sounds like a big can of worms for Python
> > programs running on CPython.

Sure, since it involves playing games with the GIL. See below. 

Phil can tell you stories.. 

> I don't know CPython and how Threading might influence the usage of it.

Threading in CPython boils down to: no matter how many threads you're 
running in your process, the python code itself will always run non 
threaded, maintained by GIL, the Global Interpreter Lock.

> However ThreadWeaver is built on top of QThread, so if CPython has a
> problem with ThreadWeaver it also has with QThread, which would be
> pretty bad. Threadweaver is not another abstraction from system-thread
> API.


More information about the PyQt mailing list