Charles-François Natali added the comment:

> Based on the conversation and the particular inputs to the thread form 
> neologix and ezio, I would like to submit this patch.
>
> It probably needs modification(s) as I am not sure what to do with the 
> implementation that is already present in multiprocessing. This patch simply 
> calls the os.cpu_count() from multiprocessing now and behaves as it would 
> have previously.

Thanks, but it would be better to reuse Trent's C implementation
instead of multiprocessing's:
http://hg.python.org/sandbox/trent/file/dd1c2fd3aa31/Modules/posixmodule.c#l10213

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17914>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to