Not blocking GUI by network worker needing asyncio?

Axel Rau Axel.Rau at
Tue Jul 6 10:55:29 BST 2021

> Am 05.07.2021 um 16:29 schrieb Kyle Altendorf <sda at <mailto:sda at>>:

I personally prefer to be able to use async/await for everything and not have to deal with threads.

Sounds reasonable.

> But, if you do just push all your long running tasks into threads, sure, you can just use blocking versions.  Though, you still give up cancellability as compared with async options.

Thanks Kyle for the advice.
I will first try to fix my current thread+qasyncio approach and then give async-only a chance.

PGP-Key: CDE74120  ☀  computing @ chaos claudius

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <>

More information about the PyQt mailing list