gh-116720: Fix corner cases of taskgroups by gvanrossum · Pull Request #117407 · python/cpython
Bot
mentioned this pull request
This fixes the one failing test in test_timeouts. Surprisingly, it doesn't break any other asyncio tests.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request
This prevents external cancellations of a task group's parent task to be dropped when an internal cancellation happens at the same time. Also strengthen the semantics of uncancel() to clear self._must_cancel when the cancellation count reaches zero. Co-Authored-By: Tin Tvrtković <tinchester@gmail.com> Co-Authored-By: Arthur Tacca
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters