This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 davin
收信人 davin, pablogsal, pitrou, steve.dower, vstinner
日期 2019-09-10.15:50:24
SpamBayes Score -1.0
Marked as misclassified
Message-id <1568130624.24.0.262749580275.issue38084@roundup.psfhosted.org>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2019-09-10 15:50:24davin修改recipients: + davin, pitrou, vstinner, steve.dower, pablogsal
2019-09-10 15:50:24davin修改messageid: <1568130624.24.0.262749580275.issue38084@roundup.psfhosted.org>
2019-09-10 15:50:24davin链接issue38084 messages
2019-09-10 15:50:24davin创建