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.

Title: ThreadPoolExecutor max_workers none issue
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.4
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Tony Hammack, asvetlov, xtreak
Priority: normal Keywords: patch

Created on 2019-02-23 01:44 by Tony Hammack, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 11994 closed python-dev, 2019-02-23 01:54
Messages (3)
msg336354 - (view) Author: Tony Hammack (Tony Hammack) Date: 2019-02-23 01:44
ThreadPoolExecutor(max_workers=None) throws exception when it should not. Inconsistent with 3.4 documentation. If max_workers=None, then it should use the amount of cpus as threadcount.
msg336360 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-02-23 05:05
Thanks for the report. 3.4 is in security fixes only mode and will reach end of life soon. This seems to be a backport of the change in 3.5 that won't be accepted. Since the feature is available in 3.5+ I would recommend upgrading to 3.5 and above and to close this issue.
msg336377 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-02-23 10:22
Please use the correct documentation version for Python 3.4. doesn't mention the pool size auto-selection.
The feature was added in Python 3.5 only.

Also, Python 3.4 reached the end-of-life, this version is not supported anymore.
Date User Action Args
2022-04-11 14:59:11adminsetgithub: 80268
2019-02-23 10:22:12asvetlovsetstatus: open -> closed

type: crash -> enhancement

nosy: + asvetlov
messages: + msg336377
resolution: not a bug
stage: patch review -> resolved
2019-02-23 05:05:52xtreaksetnosy: + xtreak
messages: + msg336360
2019-02-23 01:54:58python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12018
2019-02-23 01:44:30Tony Hammackcreate