[issue33823] concurrent.futures: cannot specify the number of cores

2018-06-27 Thread STINNER Victor
STINNER Victor added the comment: The first argument of ProcessPoolExecutor is the maximum number of workers. You can use os.cpu_count() to get the number of CPU cores. https://docs.python.org/dev/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor I don't see anything wro

[issue33823] concurrent.futures: cannot specify the number of cores

2018-06-27 Thread STINNER Victor
Change by STINNER Victor : -- components: +Library (Lib) -asyncio title: A BUG in concurrent/asyncio -> concurrent.futures: cannot specify the number of cores ___ Python tracker _