Ronald Oussoren added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17444> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com