Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18673

Re: Parallel Processing

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!rt.uk.eu.org!news-transit.tcx.org.uk!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'passes': 0.05; 'arguments,': 0.09; 'subject:Processing': 0.09; 'tuple': 0.09; 'am,': 0.12; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'arguments': 0.18; 'jan': 0.19; 'header:In-Reply-To:1': 0.22; 'do.': 0.28; 'message-id:@mail.gmail.com': 0.28; 'second': 0.29; 'chris': 0.30; 'to:addr:python-list': 0.34; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2012': 0.67
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=meUlg9CT1b7uWLDGbNG/vlx0xwYMxbJRYxfBEv17Iec=; b=NHgNvSqyxFDtTfKefO3wZzInixNYNVC+mqDEKRDXxbPYs0mj4ibc3Zh6QiXfnc1vxD q+CzB5Lno69giX9xf9OdJYO1gVnLXhwihGBBq+EXPWibmcIsb7ZO7U4+aBsdA24I4Kcy 0e/23PT+mVORSVHSIpy2u4Y3K8aUDbnRUQCxU=
MIME-Version 1.0
In-Reply-To <402bb451-9986-4a26-b606-6a1c3429f98e@s18g2000vby.googlegroups.com>
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 Mon, 9 Jan 2012 03:00:59 +1100
Subject Re: Parallel Processing
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4525.1326038463.27778.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1326038463 news.xs4all.nl 6893 [2001:888:2000:d::a6]:51345
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18673

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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