Title: Optimise `get_io_state()` · Issue #101469 · python/cpython · GitHub
Open Graph Title: Optimise `get_io_state()` · Issue #101469 · python/cpython
X Title: Optimise `get_io_state()` · Issue #101469 · python/cpython
Description: The _io extension module is required to bootstrap Python, so we can safely use internal C APIs. We should use static inlined _PyModule_GetState instead of the slower PyModule_GetState. Linked PRs gh-101470
Open Graph Description: The _io extension module is required to bootstrap Python, so we can safely use internal C APIs. We should use static inlined _PyModule_GetState instead of the slower PyModule_GetState. Linked PRs g...
X Description: The _io extension module is required to bootstrap Python, so we can safely use internal C APIs. We should use static inlined _PyModule_GetState instead of the slower PyModule_GetState. Linked PRs g...
Opengraph URL: https://github.com/python/cpython/issues/101469
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Optimise `get_io_state()`","articleBody":"The `_io` extension module is required to bootstrap Python, so we can safely use internal C APIs. We should use static inlined `_PyModule_GetState` instead of the slower `PyModule_GetState`.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-101470\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2023-01-31T17:48:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/101469/cpython/issues/101469"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:78e608a4-ce7e-dc52-dacd-d57d594a8176 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF0E:1A2FF2:28385F9:37F515C:69694D14 |
| html-safe-nonce | ec08b30e3900451068c979a18935dcf8a3fb52e8553419e3a83679a131302cfd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjBFOjFBMkZGMjoyODM4NUY5OjM3RjUxNUM6Njk2OTREMTQiLCJ2aXNpdG9yX2lkIjoiNTk0ODQyOTY5NDEyMDA1NDAzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 65636e1ff8b5f8f6de9394827cc86a9dcea9dab0ceaf10d9c0c4d4f14d550e9c |
| hovercard-subject-tag | issue:1564756596 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/101469/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5592b970ae0bc5e6794857922b58180b527191b66b79f413b178c0a37168690c/python/cpython/issues/101469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5592b970ae0bc5e6794857922b58180b527191b66b79f413b178c0a37168690c/python/cpython/issues/101469 |
| og:image:alt | The _io extension module is required to bootstrap Python, so we can safely use internal C APIs. We should use static inlined _PyModule_GetState instead of the slower PyModule_GetState. Linked PRs g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width