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 vstinner
Recipients Python++, asvetlov, pablogsal, terry.reedy, vstinner, yselivanov
Date 2018-06-27.14:30:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530109808.08.0.56676864532.issue33823@psf.upfronthosting.co.za>
In-reply-to
Content
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 wrong here, I close the issue.
History
Date User Action Args
2018-06-27 14:30:08vstinnersetrecipients: + vstinner, terry.reedy, asvetlov, yselivanov, pablogsal, Python++
2018-06-27 14:30:08vstinnersetmessageid: <1530109808.08.0.56676864532.issue33823@psf.upfronthosting.co.za>
2018-06-27 14:30:08vstinnerlinkissue33823 messages
2018-06-27 14:30:08vstinnercreate