Antoine Pitrou <pit...@free.fr> added the comment:

I don't think we want to hardcode special cases for each resource-limiting 
framework out there: some people care about Docker, others about cgroups, CPU 
affinity settings, etc.  NCPUS has the nice property that each of those 
frameworks can set it, and users or sysadmins can also override it easily.  
It's also trivially queried from Python.

----------

_______________________________________
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