bpo-45689: Custom Name for ThreadPoolExecutor gave thread_name_prefix
to ThreadPoolExecutor
, is there any reason why we couldn’t have the same on ProcessPoolExecutor
?
What does “the same” mean in the context of ProcessPoolExecutor
?
A way to set the prefix, so e.g. in logs if I have %(processName)s
I can see:
17:31:24.594 - UsefulName-3 - message
instead of what I currently get, which is:
17:31:24.594 - SpawnProcess-3 - message