Skip to content

Commit

Permalink
πŸ“œπŸ€– Added by blurb_it.
Browse files Browse the repository at this point in the history
  • Loading branch information
blurb-it[bot] authored and gvanrossum committed Oct 4, 2022
1 parent 9fbc1d8 commit bc3000b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pass the correct ``contextvars.Context`` when a ``asyncio`` exception handler is called on behalf of a task. This adds a new ``Task`` method, ``get_context``. If this method is not found on a task object (perhaps because it is a third-party library that does not yet provide this method), the context prevailing at the time the exception handler is called is used.

0 comments on commit bc3000b

Please sign in to comment.