Title: [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) by ncoghlan · Pull Request #125092 · python/cpython · GitHub
Open Graph Title: [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) by ncoghlan · Pull Request #125092 · python/cpython
X Title: [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) by ncoghlan · Pull Request #125092 · python/cpython
Description: move the Py_Main documentation from the very high level API section to the initialization and finalization section make it clear that it encapsulates a full Py_Initialize/Finalize cycle of its own point out that exactly which settings will be read and applied correctly when Py_Main is called after a separate runtime initialization call is version dependent be explicit that Py_IsInitialized can be called prior to initialization actually test that Py_IsInitialized can be called prior to initialization flush stdout in the embedding tests that run code so it appears in the expected order when running with "-vv" make "-vv" on the subinterpreter embedding tests less spammy (cherry picked from commit 7c4b6a6) 📚 Documentation preview 📚: https://cpython-previews--125092.org.readthedocs.build/
Open Graph Description: move the Py_Main documentation from the very high level API section to the initialization and finalization section make it clear that it encapsulates a full Py_Initialize/Finalize cycle of its own ...
X Description: move the Py_Main documentation from the very high level API section to the initialization and finalization section make it clear that it encapsulates a full Py_Initialize/Finalize cycle of its own ...
Opengraph URL: https://github.com/python/cpython/pull/125092
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bd27f002-7e05-d376-c2d5-60451a78b677 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B06A:47EDE:4D29992:6CBF279:6A501003 |
| html-safe-nonce | 6bf2e7593e636a95ddebb946c429b29e627c03464dcee4e4ae78f21c664852d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDZBOjQ3RURFOjREMjk5OTI6NkNCRjI3OTo2QTUwMTAwMyIsInZpc2l0b3JfaWQiOiIyOTExNTg1ODI4MTIyNjYwODY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 473bde745916d78a819b87968c55df5c12164e4de6742b7b64777d201e330ed7 |
| hovercard-subject-tag | pull_request:2112583268 |
| 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/125092/files |
| twitter:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| og:image:alt | move the Py_Main documentation from the very high level API section to the initialization and finalization section make it clear that it encapsulates a full Py_Initialize/Finalize cycle of its own ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fe4f38b24922a1ce81c1708c3793b47c185599b9144ab94f6ca846b00698058d |
| 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 | 42b6390c91978a16f9196c38c7a00e9bf21f37e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width