Dan O'Reilly added the comment:

It's probably too late to do anything about this now, but wouldn't it make more 
sense for `Pool.__exit__` to call `close`, rather than `terminate`? The vast 
majority of the time, that's probably what the user of the `Pool` would want to 
run. It also would make the behavior consistent with 
`concurrent.futures.ProcessPoolExecutor`, which will always wait for pending 
tasks to complete before exiting the `with` block.

----------
nosy: +dan.oreilly

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15064>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to