X-Recipient: archive-cygwin@delorie.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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=HnQpgrPpRvxw9tdkdKjfXXWpnHP5HXKb6Ba42ByYLLETn2WRbWKMv
	i9UwGmFmP7eH03sqZtn0gdT4rHOi4m2CyjKsGG8ve2UDW4/QU4jMXRv/6OmkBKiH
	0SsPOjlGrin4TYGfKeEnUCNoj5wQJN2cOXDfcEJ4eXwk/rC9+rmLdI=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=IfmRuyM1373chMZ8993XBqK0QbQ=; b=fe3N2RLBC+ibkOXSJAwFjVr+5boP
	T5u8i+xoXyWBe5u4XzM4FOmXmbL9ffWa1NC2eJWLgCz72NuCvDVTqnmlh66i6pwb
	RjSrxRnrKRnB6hBp8TBm42kea5Atg/shkAH0o3iTULSj5LE1uiVmnCRe8akTtv3O
	eBQ5gO2sVJ3yzUw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Jean-Pierre Flori <jpflori@gmail.com>
Subject: Re: Problem with multiprocessing module from Python
Date: Tue, 29 Oct 2013 21:22:59 +0000 (UTC)
Lines: 29
Message-ID: <l4p8vj$24u$3@ger.gmane.org>
References: 	<CAHhGz88t8H_xQ6h-a6-aQrMf+wTOVT6gMnx42tMpjs=3=qGVTQ@mail.gmail.com>	<l4ei86$cos$2@ger.gmane.org> <l4p2uq$ps8$1@ger.gmane.org>	<l4p6h3$801$1@ger.gmane.org> <20131029205935.GC392@ednor.casa.cgf.cx>	<l4p8oi$24u$1@ger.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
X-IsSubscribed: yes

Le Tue, 29 Oct 2013 21:19:14 +0000, Jean-Pierre Flori a écrit :

> Le Tue, 29 Oct 2013 16:59:35 -0400, Christopher Faylor a écrit :
>> 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.
> 
> Here you go:
> """
> from multiprocessing import Pool
> 
> def f(x): return x
> 
> p = pool(2)
> 
> p.map(f, [1, 2])
> """
And I managed to introduce a typo. The third line should read Pool, so it 
is:
"""
from multiprocessing import Pool

def f(x): return x

p = Pool(2)

p.map(f, [1, 2])
"""


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

