Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.099 X-Spam-Evidence: '*H*': 0.81; '*S*': 0.00; 'subject:Error': 0.07; 'integer.': 0.16; 'res': 0.16; 'subject:skip:m 10': 0.16; 'input': 0.22; 'example': 0.22; 'function': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:python': 0.33; 'received:google.com': 0.35; 'url:org': 0.36; 'should': 0.36; 'error.': 0.37; 'list': 0.37; 'url:library': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'url:3': 0.61; 'url:4': 0.69; 'understand,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/cnzUuTdx4MWyCqrKk+MNqkLQGbUpd1fdpei3Y1cdMs=; b=caskXDbTUb0enaAaxmQ9M3dkI8hT56WtB5yTnvWAhyRzbFZo64z7tcF26SLgmWsBlL eR9eNetb3ydSm5pjs9q4/3EbEGs36a4tmIeQRn4k1qJyaMxhVywFP9fZRgfjWCOyzV+Z ZZB410fltcy+/8ry+uWPW19adbuAgJJ0bOnmM6X5m5iaCBjJ+6nm22d/EgPZzUcvHMyC zAkmatwmP05k6o83eFdOHDR5IhAAzG743T2zPhzfJJ7FFY34q11Lz95cKNq2q5OO8pLg JKFvdhPv9HnY+uXFlVb+SeMzr66d2N68uQ7vUl7eq/JnKTVKbyf9JDuXbA3TF2Sstz50 DueQ== MIME-Version: 1.0 X-Received: by 10.50.137.8 with SMTP id qe8mr5012863igb.37.1406111257871; Wed, 23 Jul 2014 03:27:37 -0700 (PDT) Date: Wed, 23 Jul 2014 15:57:37 +0530 Subject: Error in example in multiprocessing From: Akshay Verma To: python-list@python.org Content-Type: multipart/alternative; boundary=001a11c3c3860a4e2804fed9ca70 X-Mailman-Approved-At: Wed, 23 Jul 2014 14:51:01 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1406119862 news.xs4all.nl 2863 [2001:888:2000:d::a6]:60851 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75083 --001a11c3c3860a4e2804fed9ca70 Content-Type: text/plain; charset=UTF-8 Example under 17.2.1.6. Using a pool of workers Has a error. As far as I understand, The input to res sleep function should be List and not integer. res = pool.apply_async(sleep, 10) Let me know if I am wrong. Best Regards, Akshay Verma. --001a11c3c3860a4e2804fed9ca70 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Has a error. As far as I understand, The input to res sleep function should= be List and not integer.
res =3D pool.apply_async(sle=
ep, 10)

Let m= e know if I am wrong.

Best Regards,
Akshay Verma.


--001a11c3c3860a4e2804fed9ca70--