Title: gh-128384: Add thread-safe context manager to "warnings" module by nascheme · Pull Request #128300 · python/cpython · GitHub
Open Graph Title: gh-128384: Add thread-safe context manager to "warnings" module by nascheme · Pull Request #128300 · python/cpython
X Title: gh-128384: Add thread-safe context manager to "warnings" module by nascheme · Pull Request #128300 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: This PR adds a new thread-local (and async friendly) context manager that uses contextvars. The recommended pattern for new code that doesn't care about backwards compatibility would be: with ...
X Description: This PR adds a new thread-local (and async friendly) context manager that uses contextvars. The recommended pattern for new code that doesn't care about backwards compatibility would be: w...
Opengraph URL: https://github.com/python/cpython/pull/128300
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:f3640969-4f2b-087f-fe78-1980f596f38d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C6AC:1BB425:2CC2AEE:3CDB9FF:6A53C9DF |
| html-safe-nonce | 4b2d54cb12779b033a4b42489dcf2e5ed7312cccf4f1b5457ed2df16fb3c9ffa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkFDOjFCQjQyNToyQ0MyQUVFOjNDREI5RkY6NkE1M0M5REYiLCJ2aXNpdG9yX2lkIjoiNjkzMzE1NjM0MDk0NTg5Nzk1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 033bdccdce3b55d70f75ab77618f92ab45e2d5aa0e724d12c9a28cd59b299ccd |
| hovercard-subject-tag | pull_request:2253782097 |
| 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/128300/commits |
| twitter:image | https://opengraph.githubassets.com/345d37b4cb700c8c5c8d5b234abec56fef14b69274b5a47f8d32041cf830dfd8/python/cpython/pull/128300 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/345d37b4cb700c8c5c8d5b234abec56fef14b69274b5a47f8d32041cf830dfd8/python/cpython/pull/128300 |
| og:image:alt | This PR adds a new thread-local (and async friendly) context manager that uses contextvars. The recommended pattern for new code that doesn't care about backwards compatibility would be: with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nascheme |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width