Nathaniel Smith <n...@pobox.com> added the comment:
This is a duplicate of bpo-26692 and bpo-23530, and possibly others.
My impression is that len(os.sched_getaffinity(os.getpid())) is the Right
Guess. Currently sched_getaffinity isn't implemented on Windows, but bpo-23530
has some example code for how it could/should be implemented.
@M J Harvey: does this return the right thing for your batch jobs?
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list