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 davin
Recipients davin, neologix, pitrou, sbt, vstinner
Date 2015-09-12.16:05:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442073940.16.0.520220444178.issue23992@psf.upfronthosting.co.za>
In-reply-to
Content
The patches make good sense to me -- I have no comments to add in a review.

I spent more time than I care to admit concerned with the idea that error_callback (exposed by map_async which map sits on top of) should perhaps be called not just once at the end but each time an exception occurs.  Motivated by past jobs which failed overall to yield any results because one out of a million of the inputs triggered an error, I thought the idea very appealing and experimented with implementing it (with happy results).  Googling for it though, I found plenty of examples of people asking questions about how callback and error_callback are intended to work -- though the documentation is not explicit on this particular point, most of those search results correctly document in the wild that error_callback is called only once at the end just like callback.  I think it best to leave that functionality just as you have it now.

Thanks for creating the patch -- looks great to me.
History
Date User Action Args
2015-09-12 16:05:40davinsetrecipients: + davin, pitrou, vstinner, neologix, sbt
2015-09-12 16:05:40davinsetmessageid: <1442073940.16.0.520220444178.issue23992@psf.upfronthosting.co.za>
2015-09-12 16:05:40davinlinkissue23992 messages
2015-09-12 16:05:39davincreate