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.

Author chadmiller-amzn
Recipients Mariatta, chadmiller-amzn, davin, docs@python, pitrou
Date 2018-03-22.15:52:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521733975.69.0.467229070634.issue33082@psf.upfronthosting.co.za>
In-reply-to
Content
On topic: My CLA is signed as of Monday, 19 March. My status here is not updated yet.


pitrou, off-topic: Without callbacks, users who want multiprocessing functions to return something, not just mutate state somewhere else, must gather jobs in a list and continually iterate through them polling to see if each has finished yet and conditionally popping it from the list. It's expensive and ugly and error-prone. Callbacks are really great, you should try them again.

So much better:

pool.apply_async(func, args, callback=when_finished_call_with_result)
History
Date User Action Args
2018-03-22 15:52:55chadmiller-amznsetrecipients: + chadmiller-amzn, pitrou, docs@python, davin, Mariatta
2018-03-22 15:52:55chadmiller-amznsetmessageid: <1521733975.69.0.467229070634.issue33082@psf.upfronthosting.co.za>
2018-03-22 15:52:55chadmiller-amznlinkissue33082 messages
2018-03-22 15:52:55chadmiller-amzncreate