We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6cd3c commit 07e9af5Copy full SHA for 07e9af5
1 file changed
Lib/concurrent/futures/interpreter.py
@@ -118,5 +118,7 @@ def __init__(self, max_workers=None, thread_name_prefix='',
118
each worker interpreter.
119
initargs: A tuple of arguments to pass to the initializer.
120
"""
121
+ thread_name_prefix = (thread_name_prefix or
122
+ (f"InterpreterPoolExecutor-{self._counter()}"))
123
super().__init__(max_workers, thread_name_prefix,
124
initializer, initargs)
0 commit comments