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 neologix
Recipients davin, jtaylor, neologix
Date 2015-02-27.20:08:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM21g7m1uRE1xJ0-6J-ynkx1C-QqnbpP5JXe7K_UACVX_w@mail.gmail.com>
In-reply-to <1425058844.55.0.923611260591.issue23530@psf.upfronthosting.co.za>
Content
Well, we already expose CPU affinity:

>>> import os
>>> os.sched_getaffinity(0)
{0}

IMO the current implementation is sufficient (and talking about
overcommitting for CPU is a bit moot if you're using virtual machine
anyways).

The current documentation says:
   Return the number of CPUs in the system. Returns None if undetermined.

Which to me is clear enough, although if you want to add an explicit
note that this doesn't take cpu affinity into account that wouldn't
hurt.
History
Date User Action Args
2015-02-27 20:08:49neologixsetrecipients: + neologix, jtaylor, davin
2015-02-27 20:08:49neologixlinkissue23530 messages
2015-02-27 20:08:48neologixcreate