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 vstinner
Recipients kushal.das, nedbat, neologix, pitrou, vstinner
Date 2013-05-06.22:33:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367879594.22.0.946391491649.issue17914@psf.upfronthosting.co.za>
In-reply-to
Content
I also vote +1 for returning None when the information is unknown.

Just write "os.cpu_count() or 1" if you need 1 when the count is unknown ;-)
History
Date User Action Args
2013-05-06 22:33:14vstinnersetrecipients: + vstinner, pitrou, nedbat, neologix, kushal.das
2013-05-06 22:33:14vstinnersetmessageid: <1367879594.22.0.946391491649.issue17914@psf.upfronthosting.co.za>
2013-05-06 22:33:14vstinnerlinkissue17914 messages
2013-05-06 22:33:14vstinnercreate