-
-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
propagate exceptions from cancel scope to nursery __aexit__ manually
To further reduce extraneous exception frames, CancelScope gets create() constructor and close() methods, which nursery __aexit__ uses directly rather than going through a scope context manager.
- Loading branch information
Showing
1 changed file
with
48 additions
and
37 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