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 thehesiod
Recipients asvetlov, thehesiod, yselivanov
Date 2018-02-02.23:29:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517614142.6.0.467229070634.issue32754@psf.upfronthosting.co.za>
In-reply-to
Content
currently gather/wait allow you to return on the first exception and leave the children executing.

A very common use case that I have is of launching multiple tasks, and if any of them fail, then all should fail..otherwise the other tasks would continue running w/o anyone listening for the results.  To accomplish this I wrote a method like the following: https://gist.github.com/thehesiod/524a1f005d0f3fb61a8952f272d8709e.  I think it would be useful to many others as on optional perhaps a parameter to each of these methods.

What do you guys think?
History
Date User Action Args
2018-02-02 23:29:02thehesiodsetrecipients: + thehesiod, asvetlov, yselivanov
2018-02-02 23:29:02thehesiodsetmessageid: <1517614142.6.0.467229070634.issue32754@psf.upfronthosting.co.za>
2018-02-02 23:29:02thehesiodlinkissue32754 messages
2018-02-02 23:29:02thehesiodcreate