[PyQt] moveToThread() does not cope with functools.partial
phil at riverbankcomputing.com
Tue Apr 23 13:57:24 BST 2013
On Tue, 23 Apr 2013 10:08:23 +0200, Giuseppe Corbelli
<giuseppe.corbelli at copanitalia.com> wrote:
> Please see the minimal test code below. In short connecting a signal to
> functools.partial slot breaks the expected moveToThread behaviour.
> Reasonable, I'd say, once you think about it. I'm just asking some
> about how this issue can be addressed. I thought about reimplementing
> signal class with a connect_partial method that stores bound args.
> Python 2.7.3, Qt 4.8.2, PyQt 4.10 on Linux.
Should be fixed in tonight's PyQt4 snapshot.
More information about the PyQt