Title: gh-59956: Allow the "Trashcan" Mechanism to Work Without a Thread State by ericsnowcurrently · Pull Request #101209 · python/cpython · GitHub
Open Graph Title: gh-59956: Allow the "Trashcan" Mechanism to Work Without a Thread State by ericsnowcurrently · Pull Request #101209 · python/cpython
X Title: gh-59956: Allow the "Trashcan" Mechanism to Work Without a Thread State by ericsnowcurrently · Pull Request #101209 · python/cpython
Description: We've factored out a struct from the two PyThreadState fields. This accomplishes two things: make it clear that the trashcan-related code doesn't need any other parts of PyThreadState allows us to use the trashcan mechanism even when there isn't a "current" thread state We still expect the caller to hold the GIL. Issue: gh-59956
Open Graph Description: We've factored out a struct from the two PyThreadState fields. This accomplishes two things: make it clear that the trashcan-related code doesn't need any other parts of PyThreadState all...
X Description: We've factored out a struct from the two PyThreadState fields. This accomplishes two things: make it clear that the trashcan-related code doesn't need any other parts of PyThreadS...
Opengraph URL: https://github.com/python/cpython/pull/101209
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:00372de7-0999-9cf0-f091-9623a9f4ef85 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C20C:189C33:56D7B:72E7C:696AD308 |
| html-safe-nonce | 6b1e9e8a4defff7d29e714d89a26c3df68b7f576131e9623965f796c100f6212 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjBDOjE4OUMzMzo1NkQ3Qjo3MkU3Qzo2OTZBRDMwOCIsInZpc2l0b3JfaWQiOiI1MzQ3OTM2NzIyODk0OTAyMDI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 710ed337c8d81a984456271775834003eface092769377283dac60b0d5e204d3 |
| hovercard-subject-tag | pull_request:1212215639 |
| 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/101209/files |
| twitter:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| og:image:alt | We've factored out a struct from the two PyThreadState fields. This accomplishes two things: make it clear that the trashcan-related code doesn't need any other parts of PyThreadState all... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| 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 | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width