[Python-Dev] PEP 3148 ready for pronouncement

Nick Coghlan ncoghlan at gmail.com
Thu May 27 17:58:55 CEST 2010


On 27/05/10 18:13, Brian Quinlan wrote:
>
> On 27 May 2010, at 17:53, Floris Bruynooghe wrote:
>> I'm glad I'm not alone in preferring (1) tough.
>
> Keep in mind that this library magic is consistent with the library
> magic that the threading module does - unless the user sets
> Thread.daemon to True, the interpreter does *not* exit until the thread
> does.

Along those lines, an Executor.daemon option may be a good idea. That 
way the default behaviour is to wait until things are done (just like 
threading itself), but it is easy for someone to turn that behaviour off 
for a specific executor.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list