[Python-ideas] Add an introspection API to Executor

Ethan Furman ethan at stoneleaf.us
Tue Aug 26 05:02:24 CEST 2014


On 08/25/2014 07:51 PM, Dan O'Reilly wrote:
>
> The IntrospectableQueue idea seems reasonable to me. I think I would prefer passing an introspectable (or similar)
> keyword to the Executor rather than a queue class, though.

Passing the class is the better choice -- it means that future needs can be more easily met by designing the queue 
variant needed and passing it in -- having a keyword to select only one option is unnecessarily limiting.

--
~Ethan~


More information about the Python-ideas mailing list