Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18673
| References | <25422fc4-b2ba-41aa-b12a-5e2fdc989bab@j9g2000vby.googlegroups.com> <mailman.4524.1326033306.27778.python-list@python.org> <402bb451-9986-4a26-b606-6a1c3429f98e@s18g2000vby.googlegroups.com> |
|---|---|
| Date | 2012-01-09 03:00 +1100 |
| Subject | Re: Parallel Processing |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4525.1326038463.27778.python-list@python.org> (permalink) |
On Mon, Jan 9, 2012 at 2:45 AM, Yigit Turgut <y.turgut@gmail.com> 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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Parallel Processing Yigit Turgut <y.turgut@gmail.com> - 2012-01-08 05:23 -0800
Re: Parallel Processing Dave Angel <d@davea.name> - 2012-01-08 09:34 -0500
Re: Parallel Processing Yigit Turgut <y.turgut@gmail.com> - 2012-01-08 07:45 -0800
Re: Parallel Processing Chris Angelico <rosuav@gmail.com> - 2012-01-09 03:00 +1100
Re: Parallel Processing Yigit Turgut <y.turgut@gmail.com> - 2012-01-08 08:39 -0800
Re: Parallel Processing Dave Angel <d@davea.name> - 2012-01-08 17:02 -0500
csiph-web