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?

----------
nosy: +njs

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to