[issue36087] ThreadPoolExecutor max_workers none issue

2019-02-23 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

Please use the correct documentation version for Python 3.4.
https://docs.python.org/3.4/library/concurrent.futures.html 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.

--
nosy: +asvetlov
resolution:  -> not a bug
stage: patch review -> resolved
status: open -> closed
type: crash -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36087] ThreadPoolExecutor max_workers none issue

2019-02-22 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

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.

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36087] ThreadPoolExecutor max_workers none issue

2019-02-22 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
pull_requests: +12018
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36087] ThreadPoolExecutor max_workers none issue

2019-02-22 Thread Tony Hammack


New submission from Tony Hammack :

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.

--
components: Library (Lib)
messages: 336354
nosy: Tony Hammack
priority: normal
severity: normal
status: open
title: ThreadPoolExecutor max_workers none issue
type: crash
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com