Title: gh-101819: Prepare to modernize the _io extension by vstinner · Pull Request #104178 · python/cpython · GitHub
Open Graph Title: gh-101819: Prepare to modernize the _io extension by vstinner · Pull Request #104178 · python/cpython
X Title: gh-101819: Prepare to modernize the _io extension by vstinner · Pull Request #104178 · python/cpython
Description: Add references to static types to _PyIO_State: PyBufferedIOBase_Type PyBytesIOBuffer_Type PyIncrementalNewlineDecoder_Type PyRawIOBase_Type PyTextIOBase_Type Add the defining class to methods: _io.BytesIO.getbuffer() _io.FileIO.close() Add get_io_state_by_cls() function. Add state parameter to _textiowrapper_decode() io_TextIOWrapper___init_() now sets self->state before calling _textiowrapper_set_decoder(). Issue: gh-101819
Open Graph Description: Add references to static types to _PyIO_State: PyBufferedIOBase_Type PyBytesIOBuffer_Type PyIncrementalNewlineDecoder_Type PyRawIOBase_Type PyTextIOBase_Type Add the defining class to methods: ...
X Description: Add references to static types to _PyIO_State: PyBufferedIOBase_Type PyBytesIOBuffer_Type PyIncrementalNewlineDecoder_Type PyRawIOBase_Type PyTextIOBase_Type Add the defining class to methods: ...
Opengraph URL: https://github.com/python/cpython/pull/104178
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:efee373c-e47e-ca50-7f94-81bc0f36e5f4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B87E:2ECB0B:87ED7E:C3D27F:696A0EA5 |
| html-safe-nonce | 696c0a8cdeff184f991ade262bc45218132ef22c7d0697b58c84227fad099c61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODdFOjJFQ0IwQjo4N0VEN0U6QzNEMjdGOjY5NkEwRUE1IiwidmlzaXRvcl9pZCI6IjE5ODMxODY0OTE5NzMxNzY5OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ceb009cb67d23b6dc8c84cdde3e2359d05e6532eb8760b3ae398001041b9a648 |
| hovercard-subject-tag | pull_request:1338789051 |
| 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/104178/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Add references to static types to _PyIO_State: PyBufferedIOBase_Type PyBytesIOBuffer_Type PyIncrementalNewlineDecoder_Type PyRawIOBase_Type PyTextIOBase_Type Add the defining class to methods: ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width