Content-Length: 322152 | pFad | http://github.com/python/cpython/pull/136472/commits/092b63218838446c933ff8f1790275b85fbfbbf9

0C gh-136470: Correct InterpreterPoolExecutor's default thread name by aisk · Pull Request #136472 · python/cpython · GitHub
Skip to content

gh-136470: Correct InterpreterPoolExecutor's default thread name #136472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add test
  • Loading branch information
aisk committed Jul 9, 2025
commit 092b63218838446c933ff8f1790275b85fbfbbf9
4 changes: 4 additions & 0 deletions Lib/test/test_concurrent_futures/test_interpreter_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,10 @@ def test_import_interpreter_pool_executor(self):
self.assertEqual(p.stdout.decode(), '')
self.assertEqual(p.stderr.decode(), '')

def test_thread_name_prefix(self):
self.assertStartsWith(self.executor._thread_name_prefix,
"InterpreterPoolExecutor-")


class AsyncioTest(InterpretersMixin, testasyncio_utils.TestCase):

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix :class:`concurrent.futures.InterpreterPoolExecutor`'s custom thread
name.
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/pull/136472/commits/092b63218838446c933ff8f1790275b85fbfbbf9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy