bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (#2315)
authorGregory P. Smith <greg@krypto.org>
Thu, 22 Jun 2017 06:41:13 +0000 (23:41 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Jun 2017 06:41:13 +0000 (23:41 -0700)
commita3d91b43c2851312fb942f31afa12f5961706db6
tree6988e0a35b1ee081c33a7ad5324521c4dc892425
parenta0e911b190a229693a1b9948caf768de0069046b
bpo-29212: Fix the ugly repr() ThreadPoolExecutor thread name. (#2315)

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.
Lib/concurrent/futures/thread.py
Lib/test/test_concurrent_futures.py
Misc/NEWS