[Python-ideas] use multiprocessing in included compileall script

10 views
Skip to first unread message

Daniel Holth

unread,
Oct 1, 2012, 4:44:21 PM10/1/12
to python-ideas
As an option, compileall should use a multiprocessing Pool() to speed
up its work.
_______________________________________________
Python-ideas mailing list
Python...@python.org
http://mail.python.org/mailman/listinfo/python-ideas

Antoine Pitrou

unread,
Oct 1, 2012, 4:51:23 PM10/1/12
to python...@python.org

Hello Daniel,

On Mon, 1 Oct 2012 16:44:21 -0400
Daniel Holth <dho...@gmail.com> wrote:
> As an option, compileall should use a multiprocessing Pool() to speed
> up its work.

This kind of concrete proposal can be brought directly on the bug
tracker, no need to go through python-ideas.

Regards

Antoine.


--
Software development and contracting: http://pro.pitrou.net

Daniel Holth

unread,
Oct 1, 2012, 4:54:50 PM10/1/12
to Antoine Pitrou, python...@python.org
filed

Steven D'Aprano

unread,
Oct 1, 2012, 8:15:18 PM10/1/12
to python...@python.org
On 02/10/12 06:44, Daniel Holth wrote:
> As an option, compileall should use a multiprocessing Pool() to speed
> up its work.

Sounds like overkill.

In my experience, very few ideas are so self-evident that they don't
need any explanation, and this is certainly not one of them. What is
your rationale for why compileall should use multiprocessing?


--
Steven
Reply all
Reply to author
Forward
0 new messages