Yogesh Chaudhari added the comment:

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.

----------
Added file: http://bugs.python.org/file30220/issue17914-1.patch

_______________________________________
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