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.

classification
Title: Add callback parameter to concurrent.futures.Executor.map
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: aron.bordin, iritkatriel
Priority: normal Keywords:

Created on 2017-03-26 01:18 by aron.bordin, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg290502 - (view) Author: Aron Bordin (aron.bordin) * Date: 2017-03-26 01:18
I'm facing some situations where would be helpful to be able to add a default function callback when calling the Executor.map. So, when making calls with this command we could get the executor result easily.

I think that we could provide a callback parameter to the map function, that adds the callable to the future (similar to add_done_callback).
msg415567 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-03-19 20:15
Since nobody followed up on this for 5 years, I would suggest that (if you are still interested in this) you raise this on python-ideas and ideally also implement and submit a patch.

If this is abandoned I will close the issue in a couple of weeks.
History
Date User Action Args
2022-04-11 14:58:44adminsetstatus: pending -> open
github: 74092
2022-03-19 20:15:50iritkatrielsetstatus: open -> pending
nosy: + iritkatriel
messages: + msg415567

2017-03-26 01:18:34aron.bordincreate