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 jszakmeister, ned.deily, ronaldoussoren, sbt, trent, vstinner
Date 2013-03-19.07:54:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
I like the idea of a new function in the os module because I don't
like having to import the multiprocessing module just to known the
number of CPUs. I'm using such function to set MAKEFLAGS envrionment
variable on Linux: -j8 par example.

2013/3/19 Trent Nelson <>:
> Trent Nelson added the comment:
> I remember looking at what multiprocessing did and not really liking it; I ended up writing a C version that works across a wider range of platforms, accessible via posixmodule.c:posix_cpu_count() (os.cpu_count()):
> ----------
> nosy: +trent
> _______________________________________
> Python tracker <>
> <>
> _______________________________________
Date User Action Args
2013-03-19 07:54:54vstinnersetrecipients: + vstinner, ronaldoussoren, jszakmeister, ned.deily, trent, sbt
2013-03-19 07:54:54vstinnerlinkissue17444 messages
2013-03-19 07:54:54vstinnercreate