Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(122758)

#21527: concurrent.futures.ThreadPoolExecutor does not use a default value

Can't Edit
Can't Publish+Mail
Start Review
Created:
5 years, 5 months ago by pcmanticore
Modified:
5 years, 2 months ago
Reviewers:
guido, brian
CC:
gvanrossum, bquinlan, Claudiu.Popa, devnull_psf.upfronthosting.co.za, Josh.R
Visibility:
Public.

Patch Set 1 #

Total comments: 4

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Doc/library/concurrent.futures.rst View 1 1 chunk +9 lines, -1 line 0 comments Download
Lib/concurrent/futures/thread.py View 1 2 chunks +6 lines, -1 line 0 comments Download
Lib/test/test_concurrent_futures.py View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 4
gvanrossum
http://bugs.python.org/review/21527/diff/11902/Lib/concurrent/futures/thread.py File Lib/concurrent/futures/thread.py (right): http://bugs.python.org/review/21527/diff/11902/Lib/concurrent/futures/thread.py#newcode92 Lib/concurrent/futures/thread.py:92: max_workers = os.cpu_count() or 1 I don't think this ...
5 years, 2 months ago #1
Claudiu.Popa
http://bugs.python.org/review/21527/diff/11902/Lib/concurrent/futures/thread.py File Lib/concurrent/futures/thread.py (right): http://bugs.python.org/review/21527/diff/11902/Lib/concurrent/futures/thread.py#newcode92 Lib/concurrent/futures/thread.py:92: max_workers = os.cpu_count() or 1 On 2014/08/27 16:21:23, gvanrossum ...
5 years, 2 months ago #2
bquinlan
http://bugs.python.org/review/21527/diff/11902/Doc/library/concurrent.futures.rst File Doc/library/concurrent.futures.rst (right): http://bugs.python.org/review/21527/diff/11902/Doc/library/concurrent.futures.rst#newcode125 Doc/library/concurrent.futures.rst:125: not given, it will default to the number of ...
5 years, 2 months ago #3
Claudiu.Popa
5 years, 2 months ago #4
http://bugs.python.org/review/21527/diff/11902/Doc/library/concurrent.futures...
File Doc/library/concurrent.futures.rst (right):

http://bugs.python.org/review/21527/diff/11902/Doc/library/concurrent.futures...
Doc/library/concurrent.futures.rst:125: not given, it will default to the number
of processors on the machine.
On 2014/08/28 22:14:09, bquinlan wrote:
> This isn't true anymore.

Yes, I've changed it in the second patch set.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+