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


Groups > comp.lang.python > #84774

Re: multiprocessing module backport from 3 to 2.7 - spawn feature

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'andres': 0.09; 'subject:2.7': 0.09; 'subject:module': 0.09; 'cc:addr:python- list': 0.11; 'jan': 0.12; 'systems.': 0.12; '2.7': 0.14; 'windows': 0.15; 'spawn': 0.16; 'subject:skip:m 10': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'wed,': 0.18; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'specially': 0.26; 'header:In-Reply-To:1': 0.27; 'feature': 0.29; '[1]': 0.29; 'am,': 0.29; 'unix': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'subject:from': 0.34; 'received:google.com': 0.35; 'version': 0.36; 'module.': 0.36; 'two': 0.37; 'skip:& 10': 0.38; 'anything': 0.39; 'ability': 0.39; 'explain': 0.39; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'between': 0.67; '2015': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Qnh9ELU9LU/weebDlbrF7jVvnBQmTyRz8XMHyIAgqa4=; b=sFTjlql4Vqw+JytLNZ+qhkPRDRzFis3KkybfI4Y5U/DAA/DOfuLY5C+D0SLCHR6E7j Gj436bKO+EF6UPbmKmAWJ34PyKrM0VHpakvFi8ulCLZHltqLA7cWtdhR3Wijc9iurD6t 92sPehEIHjsGHcnipztxMyJ3OeAHy+n9K9W2CaZ0vZBFcAPWLgMYwGYYI0RrQOv7ULuh 7hHbuw0Nl2kin6hYYJ7J/cNePv2hX9Y5+wAfQNpdMsVE1WnVvb8aAfb938MpVASzF+jK gA9tjiGdAHnuWAFXSpvcJeP+3CN5y6JGFK53L9npy1kUhCRuNY8/FOP8CYijS2vC5nun n5ZA==
MIME-Version 1.0
X-Received by 10.183.24.162 with SMTP id ij2mr3052817obd.18.1422468411452; Wed, 28 Jan 2015 10:06:51 -0800 (PST)
In-Reply-To <CA+1Rt66fb5zFwKiBG=tkHzURfiYFX_xKo=XxUKvWO4CdySX0_Q@mail.gmail.com>
References <CA+1Rt66fb5zFwKiBG=tkHzURfiYFX_xKo=XxUKvWO4CdySX0_Q@mail.gmail.com>
Date Wed, 28 Jan 2015 12:06:51 -0600
Subject Re: multiprocessing module backport from 3 to 2.7 - spawn feature
From Skip Montanaro <skip.montanaro@gmail.com>
To Andres Riancho <andres.riancho@gmail.com>
Content-Type multipart/alternative; boundary=001a1134a7ae5e74b6050dba3c52
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18228.1422468414.18130.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1422468414 news.xs4all.nl 2953 [2001:888:2000:d::a6]:55834
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:84774

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Jan 28, 2015 at 7:07 AM, Andres Riancho <andres.riancho@gmail.com>
wrote:

> The feature I'm specially interested in is the ability to spawn
> processes [1] instead of forking, which is not present in the 2.7
> version of the module.
>

Can you explain what you see as the difference between "spawn" and "fork"
in this context? Are you using Windows perhaps? I don't know anything
obviously different between the two terms on Unix systems.

Skip

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: multiprocessing module backport from 3 to 2.7 - spawn feature Skip Montanaro <skip.montanaro@gmail.com> - 2015-01-28 12:06 -0600

csiph-web