delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=S9xpeqSGIgVAYdmBAOr4C2/jFVn64SDIvgcUT73QwLo8KPaiNnxKQ | |
pclcWDmIzwKQbOrqspAcvKea90D0ttD6zDztCGBhQWyByh/ZP3QDCgKaY4nNwG4/ | |
pj9Rml+uKBsmhms2WK31F7sWn4rCA0wkN74kYthzLdl5J7WzGrTrko= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=rO5059rBSSChCvG9ZfvDpQIIGrE=; b=SLuTeU1maHu0H0C3vlX+/4VQ5hKw | |
spCYH2K7FSPa0JccOxTNpcBqtZ8iDHOvD9BWmUhLMaPA0c4vlDA5HVceoONjHDsW | |
euefDqs7PHsN1V3d8n9fnUXbOMhlMXaCMtVB4plJaRRJ/aoXxqA+jpxIOpDcPMIT | |
82ziae3m6X9dEkc= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 30 Oct 2013 10:33:13 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with multiprocessing module from Python |
Message-ID: | <20131030093313.GA28558@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAHhGz88t8H_xQ6h-a6-aQrMf+wTOVT6gMnx42tMpjs=3=qGVTQ AT mail DOT gmail DOT com> <l4ei86$cos$2 AT ger DOT gmane DOT org> <l4p2uq$ps8$1 AT ger DOT gmane DOT org> <l4p6h3$801$1 AT ger DOT gmane DOT org> <20131029205935 DOT GC392 AT ednor DOT casa DOT cgf DOT cx> <l4p8oi$24u$1 AT ger DOT gmane DOT org> <l4p8vj$24u$3 AT ger DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <l4p8vj$24u$3@ger.gmane.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 29 21:22, Jean-Pierre Flori wrote: > Le Tue, 29 Oct 2013 21:19:14 +0000, Jean-Pierre Flori a =C3=A9crit=C2=A0: >=20 > > Le Tue, 29 Oct 2013 16:59:35 -0400, Christopher Faylor a =C3=A9crit=C2= =A0: > >> If you want this fixed, the easiest way to get that to happen is to > >> post a simple test case which reproduces the problem. That is not the > >> code snippet that you sent. A real working example would be required. > > Sorry about that. > >=20 > > Here you go: > > """ > > from multiprocessing import Pool > >=20 > > def f(x): return x > >=20 > > p =3D pool(2) > >=20 > > p.map(f, [1, 2]) > > """ > And I managed to introduce a typo. The third line should read Pool, so it= =20 > is: > """ > from multiprocessing import Pool >=20 > def f(x): return x >=20 > p =3D Pool(2) >=20 > p.map(f, [1, 2]) > """ Works for me. I guess. At least, if I run the script, nothing happens: $ python x.py $ Same on 32 and 64 bit Cygwin. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --opJtzjQTFsWo+cga Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJScNJYAAoJEPU2Bp2uRE+gN1UP/i8TcCu3bUJO2eFQsPTl9q66 1teL4tJqxyPi4+TPB4Ta7ebzI+5H7dVfDxAilN6dnfv2Wszu4yxQanDCIzNn4BLU hpkOFFsbPCRknrWkxDhOX3VJny6N9HhAfsl8/g1Ppdz8fqRviBzgTgVhbvRO1BL0 BH/IVwUDEwwiniRkIYsCNUpvXsLLRp9/NIFjjMjQlON32atnE++44BJrIzXnfzLP xsUXwiYLA14BNSHGMKnblvjKzDzS0uyEje0HJYPAIG/EWquNQuCqGF3DFARfDGm/ G1j8IRV8tadftN60jbs2iV3rMfnZEISibSTL3AV4XTGDqR9GJLbC67buSXqtPIKy 8v4SwYu7NKKfdWNnXh7av77K3RaIB4+boykkfUuulX3Q6cu62iWc59tQ54ivuO09 MIUwZOLCzOE7udHdXcds/1FpQa1rBrrvW10Zm9SmjY6vvbFRb1iofjGstd+lHpA6 CDef1htAGji0iDfPwg1k7WeZfwD7Opho2GPZ0x0cCAmcPp7r6RrQl++YuTg8le/L 5GbMxhoPVaMpWqFCm6NH0LDNgbNlpVQ0r/+l+rq+bm+m/ByYWuPcPhBem4tUAJwh GQTJPUCVaHSoREcP+fMmYmsZx/pB/UoYIZBrE5myuXyqnN1h0l6zK61RVqyn2uVA jps71AogYStiktK5Go3c =IQZ2 -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |