[PyQt] QFuture replacement for PyQt?

Bryan A. Jones bjones at ece.msstate.edu
Tue Sep 2 04:41:21 BST 2014


All,

As I understand it, PyQt can't (and won't) support QtConcurrent, per [1].
Is there a Pythonic replacement for the QFuture/QFutureWatcher classes?
Something like (pardon the abuse of notation):

# Pseudocode -- just the concept, but not syntacticly correct:
run_in_another_thread(result = f(a, b))
# When f(a, b) finishes and returns result:
g(result)

invokable by something like:
# Is there an implementation of this idea out there?
QPythonicFuture(g, f, a, b)

Thanks!

Bryan

[1]
http://www.riverbankcomputing.com/pipermail/pyqt/2014-January/033611.html

-- 
Bryan A. Jones, Ph.D.
Associate Professor
Department of Electrical and Computer Engineering
231 Simrall / PO Box 9571
Mississippi State University
Mississippi state, MS 39762
http://www.ece.msstate.edu/~bjones
bjones AT ece DOT msstate DOT edu
voice 662-325-3149
fax 662-325-2298

Our Master, Jesus Christ, is on his way. He'll show up right on
time, his arrival guaranteed by the Blessed and Undisputed Ruler,
High King, High God.
- 1 Tim. 6:14b-15 (The Message)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140901/fb5cff69/attachment.html>


More information about the PyQt mailing list