Message184617
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. |
|
Date |
User |
Action |
Args |
2013-03-19 08:07:46 | ronaldoussoren | set | recipients:
+ ronaldoussoren, vstinner, jszakmeister, ned.deily, trent, sbt |
2013-03-19 08:07:46 | ronaldoussoren | set | messageid: <1363680466.3.0.435088098105.issue17444@psf.upfronthosting.co.za> |
2013-03-19 08:07:46 | ronaldoussoren | link | issue17444 messages |
2013-03-19 08:07:46 | ronaldoussoren | create | |
|