Parallel Processing

Chris Angelico rosuav at
Sun Jan 8 11:00:59 EST 2012

On Mon, Jan 9, 2012 at 2:45 AM, Yigit Turgut <y.turgut at> wrote:
> job1 = job_server.submit(test1,())
> job2 = job_server.submit(test2())

The first of these passes test1 and an empty tuple as arguments to
submit(). The second calls test2 with no arguments, then passes its
return value to submit(), which is not what you want to do.

Chris Angelico

More information about the Python-list mailing list