Davin Potts <pyt...@discontinuity.net> added the comment:

Thanks to Pablo's good work with implementing the use of multiprocessing's 
Process.sentinel, the logic for handling PoolWorkers that die has been 
centralized into Pool._maintain_pool().  If _maintain_pool() can also identify 
which job died with the dead PoolWorker, then it should be possible to put a 
corresponding message on the outqueue to indicate an exception occurred but 
pool can otherwise continue its work.


The question of whether Pool.map() should expose a timeout parameter deserves a 
separate discussion and should not be considered a path forward on this issue 
as it would require that users always specify and somehow know beforehand how 
long it should take for results to be returned from workers.  Exposing the 
timeout control may have other practical benefits elsewhere but not here.

----------

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

Reply via email to