[IPython-dev] drop-in replacement for multiprocessing

MinRK benjaminrk at gmail.com
Mon Jun 22 13:44:25 EDT 2015


On Mon, Jun 22, 2015 at 10:33 AM, Thomas Kluyver <takowl at gmail.com> wrote:

Hi Mike,
>
> On 22 June 2015 at 02:50, Michael McKerns <mmckerns at caltech.edu> wrote:
>
>> It installs as "multiprocessing".
>
>
> I'm slightly surprised at this - I'm not sure about shadowing standard
> library modules. But I can see arguments for it as well, like existing code
> can benefit from it without needing changes.
>
The evolution of setuptools and pip is making overriding the stdlib harder.
I even have a patch proposal in to setuptools and I’m working on one for
CPython that would make it basically impossible without a custom
PYTHONPATH. For instance, installing this with pip doesn’t result in an
importable package, and it can never be distributed as a wheel. As tempting
as it is to override the stdlib for ‘magic improvements’, I think it’s
probably best to avoid namespace collisions with the stdlib, and go with
multiprocess or multiprocessing2 or some such.

-MinRK


>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150622/bf29fb09/attachment.html>


More information about the IPython-dev mailing list