diff options
author | Guido van Rossum <guido@python.org> | 2024-04-09 15:17:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 15:17:28 (GMT) |
commit | fa58e75a8605146a89ef72b58b4529669ac48366 (patch) | |
tree | 1e15a0af9593b52529a6e637703ea878d6d295e0 /Python/jit.c | |
parent | 22b25d1ebaab7b8c4833a8c120c8b4699a830f40 (diff) | |
download | cpython-fa58e75a8605146a89ef72b58b4529669ac48366.zip cpython-fa58e75a8605146a89ef72b58b4529669ac48366.tar.gz cpython-fa58e75a8605146a89ef72b58b4529669ac48366.tar.bz2 |
gh-116720: Fix corner cases of taskgroups (#117407)
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
Diffstat (limited to 'Python/jit.c')
0 files changed, 0 insertions, 0 deletions