Title: bpo-34485: Add _Py_ClearStandardStreamEncoding() by vstinner · Pull Request #8982 · python/cpython · GitHub
Open Graph Title: bpo-34485: Add _Py_ClearStandardStreamEncoding() by vstinner · Pull Request #8982 · python/cpython
X Title: bpo-34485: Add _Py_ClearStandardStreamEncoding() by vstinner · Pull Request #8982 · python/cpython
Description: Move Py_SetStandardStreamEncoding() from pylifecycle.c to coreconfig.c Add _Py_ClearStandardStreamEncoding() private function. pymain_free() now calls _Py_ClearStandardStreamEncoding(). Add assertions add the end of _PyCoreConfig_Read() _PyCoreConfig_Copy(): rename COPY_STR_ATTR() macro to COPY_WSTR_ATTR(). Fix get_stdio_errors() indentation. https://bugs.python.org/issue34485
Open Graph Description: Move Py_SetStandardStreamEncoding() from pylifecycle.c to coreconfig.c Add _Py_ClearStandardStreamEncoding() private function. pymain_free() now calls _Py_ClearStandardStreamEncoding(). Add asserti...
X Description: Move Py_SetStandardStreamEncoding() from pylifecycle.c to coreconfig.c Add _Py_ClearStandardStreamEncoding() private function. pymain_free() now calls _Py_ClearStandardStreamEncoding(). Add asserti...
Opengraph URL: https://github.com/python/cpython/pull/8982
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9da92849-822a-988e-77d7-be45c611c07f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 95E4:90996:38B2ED7:5151316:6A4FDC0A |
| html-safe-nonce | aa94f23528686bfb908ecd0cec4605e0ed1a982758eb3d7d90196a098fbf4dc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUU0OjkwOTk2OjM4QjJFRDc6NTE1MTMxNjo2QTRGREMwQSIsInZpc2l0b3JfaWQiOiI0Mzc0Mjc0MzM3MDU1NjkzODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3f62bfd79fc350f7f221cefb985e261ad13940bf72da0a64645c16b4c89d4e82 |
| hovercard-subject-tag | pull_request:211582918 |
| 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/8982/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 | Move Py_SetStandardStreamEncoding() from pylifecycle.c to coreconfig.c Add _Py_ClearStandardStreamEncoding() private function. pymain_free() now calls _Py_ClearStandardStreamEncoding(). Add asserti... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| 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 | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width