[Python-ideas] Executor Docs [was: Re: Add an introspection API to Executor]

Ethan Furman ethan at stoneleaf.us
Tue Aug 26 06:22:38 CEST 2014


On 08/25/2014 09:08 PM, Guido van Rossum wrote:
>
> Hm. Maybe we should not complicate the API after all. This seems a lot of theorizing without enough of a use case.

I went in search of docs to see what the API actually was, and while I know the source code is a great place to go look 
for education and finer points, should we have to go looking there just to see what the __init__ parameters are?

I'm going to go out on a limb and say that ThreadPoolExecutor takes a max_workers param, but I only have that because 
it's in the example.

On the up side, having a link to the source is really cool.  Having clicked on that I now know that max_workers is the 
only param taken.  ;)

--
~Ethan~


More information about the Python-ideas mailing list