]> granicus.if.org Git - python/commit
[3.6] bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (GH-2315) (...
authorGregory P. Smith <greg@krypto.org>
Sun, 3 Sep 2017 21:52:20 +0000 (14:52 -0700)
committerGitHub <noreply@github.com>
Sun, 3 Sep 2017 21:52:20 +0000 (14:52 -0700)
commit7d8282d25d4900dd3367daf28bb393be7f276729
tree383ae254bfd9d6290ff0f7779cf4dd8fed20b6bb
parent31b8efeaa893e95358b71eb2b8365552d3966b4a
[3.6] bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (GH-2315) (#3276)

bpo-29212: Fix the ugly ThreadPoolExecutor thread name.

Fixes the newly introduced ugly default thread name for concurrent.futures
thread.ThreadPoolExecutor threads.  They'll now resemble the old <=3.5
threading default Thread-x names by being named ThreadPoolExecutor-y_n..
(cherry picked from commit a3d91b43c2851312fb942f31afa12f5961706db6)
Lib/concurrent/futures/thread.py
Lib/test/test_concurrent_futures.py
Misc/NEWS.d/next/Library/2017-09-03-14-31-00.bpo-29212.bicycl.rst [new file with mode: 0644]