A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2014-April/134383.html below:

[Python-Dev] API and process questions (sparked by Claudiu Popa on 16104

[Python-Dev] API and process questions (sparked by Claudiu Popa on 16104 [Python-Dev] API and process questions (sparked by Claudiu Popa on 16104R. David Murray rdmurray at bitdance.com
Tue Apr 29 00:38:42 CEST 2014
On Mon, 28 Apr 2014 23:24:16 +0300, Claudiu Popa <pcmanticore at gmail.com> wrote:
> - Will raise NotImplementedError if multiprocessing can't be used
> (when `workers` equals to 0 or > 1)

I think the most common use case for this ability will be "run with
the appropriate number of processes for the system I'm on", where
'the appropriate number' is 1 (the main process) if multiprocessing
is not available.  Otherwise the tool calling compileall would have to
figure out how to "catch the error" (how do you do that when invoking
a CLI?) and re-run the script using '1` itself.

How you spell this I don't really care, but I think the above is the
most common use case.

--David
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4