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 ronaldoussoren
Recipients jszakmeister, ned.deily, ronaldoussoren, sbt, trent, vstinner
Date 2013-03-19.08:07:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363680466.3.0.435088098105.issue17444@psf.upfronthosting.co.za>
In-reply-to
Content
I also like the os.cpu_count() function, the information is useful sometimes outside of multiprocessing, and calling out to external scripts to gather the information (as multiprocessing currently does) feels yucky.

That should probably be a new issue, the change in this issue fixes a real problem  (the cpu count code in multiprocessing can overestimate the usable CPU count on OSX) and is a bugfix that should be backported to the stable branches.

BTW. Trent's os.cpu_count implementation also uses hw.ncpu and is therefore also broken on OSX.
History
Date User Action Args
2013-03-19 08:07:46ronaldoussorensetrecipients: + ronaldoussoren, vstinner, jszakmeister, ned.deily, trent, sbt
2013-03-19 08:07:46ronaldoussorensetmessageid: <1363680466.3.0.435088098105.issue17444@psf.upfronthosting.co.za>
2013-03-19 08:07:46ronaldoussorenlinkissue17444 messages
2013-03-19 08:07:46ronaldoussorencreate