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 achimnol
Recipients achimnol, asvetlov, gvanrossum, tinchester, yselivanov
Date 2022-02-25.18:28:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645813705.22.0.669095692808.issue46843@roundup.psfhosted.org>
In-reply-to
Content
> As for errors in siblings aborting the TaskGroup, could you apply a wrapper to the scheduled coroutines to swallow and log any errors yourself?

Yes, this could be a simplest way to implement PersistentTaskGroup if TaskGroup supports "persistent" option to keep it running.

And just a question: I'm just curious about what happens if belonging tasks see the cancellation raised from their inner tasks.  Sibling tasks should not be cancelled, and the outer task group should not be cancelled, unless the task group itself has requested cancellation.  Could the new cancellation counter help this?
History
Date User Action Args
2022-02-25 18:28:25achimnolsetrecipients: + achimnol, gvanrossum, asvetlov, yselivanov, tinchester
2022-02-25 18:28:25achimnolsetmessageid: <1645813705.22.0.669095692808.issue46843@roundup.psfhosted.org>
2022-02-25 18:28:25achimnollinkissue46843 messages
2022-02-25 18:28:25achimnolcreate