Title: [3.9] bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) by miss-islington · Pull Request #20279 · python/cpython · GitHub
Open Graph Title: [3.9] bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) by miss-islington · Pull Request #20279 · python/cpython
X Title: [3.9] bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) by miss-islington · Pull Request #20279 · python/cpython
Description: Allows contextvars from the main thread to be accessed in the separate thread used in asyncio.to_thread(). See the discussion in GH-20143 for context. Automerge-Triggered-By: @aeros (cherry picked from commit 0f56263) Co-authored-by: Kyle Stanley aeros167@gmail.com https://bugs.python.org/issue32309
Open Graph Description: Allows contextvars from the main thread to be accessed in the separate thread used in asyncio.to_thread(). See the discussion in GH-20143 for context. Automerge-Triggered-By: @aeros (cherry picked ...
X Description: Allows contextvars from the main thread to be accessed in the separate thread used in asyncio.to_thread(). See the discussion in GH-20143 for context. Automerge-Triggered-By: @aeros (cherry picked ...
Opengraph URL: https://github.com/python/cpython/pull/20279
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:513c2c85-4a3d-957d-78d9-38ac09e6b752 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B0BE:1C0DEF:E1252:12EF20:6A4D7B4F |
| html-safe-nonce | afd4e326e253d8ea47fe0c94949cb0b273ed7f2b9f95f900856ddb1716f0be6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEJFOjFDMERFRjpFMTI1MjoxMkVGMjA6NkE0RDdCNEYiLCJ2aXNpdG9yX2lkIjoiNzkwMDQxMjUzMzk2OTYxNTY5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f3d03256eb59c533bf14f9a31b65a908ddedb0e648649fc8f8637d59b0b89a00 |
| hovercard-subject-tag | pull_request:421155681 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/20279/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | Allows contextvars from the main thread to be accessed in the separate thread used in asyncio.to_thread(). See the discussion in GH-20143 for context. Automerge-Triggered-By: @aeros (cherry picked ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8608b0750fc35e283e5ec5b094bff942d7a0e197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width