-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed
asyncio.Task.cancelling
issues (#790)
* Shrink TaskState to save a little memory * Fix uncancel() being called too early * Refactor to avoid duplicate computation * Test TaskInfo.has_pending_cancellation in cleanup code * Fix TaskInfo.has_pending_cancellation in cleanup code on asyncio * Test that uncancel() isn't called too early Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi>
- Loading branch information
1 parent
39cf394
commit 93a5746
Showing
3 changed files
with
117 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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