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, serhiy.storchaka, trent, vstinner
Date 2013-05-11.17:30:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368293408.93.0.00106378365132.issue17914@psf.upfronthosting.co.za>
In-reply-to
Content
Appreciate everyone's feedback. I have modified the patch based on further messages in the thread.

@Neologix
modified posixmodule according to one in Trent's branch and used that for cpu_count(). Kindly suggest improvements/changes if any.

@Ned:
Thanks for the suggestions. I have applied them wherever applicable. However regarding 
"And this I think will throw an exception in Python 3: `cpus >= 1 or cpus == None`, because you can't compare None to 1."
It does not throw any exceptions as of now.
History
Date User Action Args
2013-05-11 17:30:08Yogesh.Chaudharisetrecipients: + Yogesh.Chaudhari, pitrou, vstinner, nedbat, trent, ezio.melotti, r.david.murray, neologix, serhiy.storchaka, kushal.das
2013-05-11 17:30:08Yogesh.Chaudharisetmessageid: <1368293408.93.0.00106378365132.issue17914@psf.upfronthosting.co.za>
2013-05-11 17:30:08Yogesh.Chaudharilinkissue17914 messages
2013-05-11 17:30:08Yogesh.Chaudharicreate