This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients aeros, asvetlov, primal, yselivanov
Date 2019-11-02.05:19:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <k2h45y0o.80268357-4593-4fe5-a38a-2f34de495e64@we.are.superhuman.com>
In-reply-to <1572662915.79.0.149351431281.issue32309@roundup.psfhosted.org>
Content
> 
> 
> 
> IMO, I think it would be a bit more clear to just explicitly call it
> "threads" or "max_threads", as that explains what it's effectively doing.
> While "concurrency" is still a perfectly correct way of describing the
> behavior, I think it might be a little too abstract for an argument name.
> 
> 
> 

> 
> 
> 
> 
> 
> 
> 

And that's why I like it. If we add ProcessPool it will have the same argument: concurrency.

max_workers isn't correct, as we want to spawn all threads and all processes when we start. Thus btw makes me think that initializing threads/processes in __init__ is a bad idea, as spawning can be asynchronous.

> 
> 
> 
> 
> 
> 
> 
>
History
Date User Action Args
2019-11-02 05:19:56yselivanovsetrecipients: + yselivanov, asvetlov, primal, aeros
2019-11-02 05:19:56yselivanovlinkissue32309 messages
2019-11-02 05:19:56yselivanovcreate