Author pitrou
Recipients Yogesh.Chaudhari, dilettant, ezio.melotti, kushal.das, nedbat, neologix, pitrou, r.david.murray, serhiy.storchaka, trent, vstinner
Date 2013-05-13.19:57:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368475021.4048.2.camel@fsol>
In-reply-to <CAH_1eM2Ct8-42m+Y7dur+S9aaH7CQJzTV5g-CCGxWTUqxVNeyA@mail.gmail.com>
Content
> And on Linux, 1 is returned as a fallback when you don't have the
> right /sys or /proc entry:
> http://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/getsysstats.c
> 
> (The enum discussion enlighted me, endless discussions are so fun!)

Do you want cpu_count() to return an enum?

>>> os.cpu_count()
<CPUCount.Four: 4>
History
Date User Action Args
2013-05-13 19:57:04pitrousetrecipients: + pitrou, vstinner, nedbat, trent, ezio.melotti, r.david.murray, neologix, serhiy.storchaka, kushal.das, dilettant, Yogesh.Chaudhari
2013-05-13 19:57:04pitroulinkissue17914 messages
2013-05-13 19:57:04pitroucreate