This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Yogesh.Chaudhari
Recipients Yogesh.Chaudhari, ezio.melotti, kushal.das, nedbat, neologix, pitrou, r.david.murray, trent, vstinner
Date 2013-05-11.11:34:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368272064.98.0.898946722771.issue17914@psf.upfronthosting.co.za>
In-reply-to
Content
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.

The test cases are also added to test_os similar to ones from multiprocessing.
History
Date User Action Args
2013-05-11 11:34:25Yogesh.Chaudharisetrecipients: + Yogesh.Chaudhari, pitrou, vstinner, nedbat, trent, ezio.melotti, r.david.murray, neologix, kushal.das
2013-05-11 11:34:24Yogesh.Chaudharisetmessageid: <1368272064.98.0.898946722771.issue17914@psf.upfronthosting.co.za>
2013-05-11 11:34:24Yogesh.Chaudharilinkissue17914 messages
2013-05-11 11:34:24Yogesh.Chaudharicreate