Skip to content

clarification on finalization #753

Answered by agronholm
euri10 asked this question in Q&A
Jun 30, 2024 · 2 comments · 17 replies
Discussion options

You must be logged in to vote

It all depends on what exactly conn.execute() does. It may or may not work, but gist is that if CancelledError was raised by an AnyIO cancel scope, then it will attempt to cancel the task over and over again until that CancelledError reaches the cancel scope that initiated the cancellation process.

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
2 replies
@agronholm
Comment options

@euri10
Comment options

Answer selected by euri10
Comment options

You must be logged in to vote
15 replies
@euri10
Comment options

@euri10
Comment options

@agronholm
Comment options

@smurfix
Comment options

@euri10
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants