| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b5325f2d-c726-c6f1-eea1-85960b076b3f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 99EC:132F24:1DB433B:29114D5:6A502037 |
| html-safe-nonce | 568b0314305866be40ba7fbf91a63825b9b411b51271a98199cfdcb8bc22f6be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUVDOjEzMkYyNDoxREI0MzNCOjI5MTE0RDU6NkE1MDIwMzciLCJ2aXNpdG9yX2lkIjoiMzI5NzQzODU5NDcwOTMzMjAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 970e30fde28f3cde2e4cebfe283b7df15b5e03c6d9d793f00b12ebea7c901098 |
| hovercard-subject-tag | pull_request:2584636969 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/135395/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/61ecc474ad007b63b71e3c1dd80379ea43207fc8612304493be2138aa991df62/python/cpython/pull/135395 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61ecc474ad007b63b71e3c1dd80379ea43207fc8612304493be2138aa991df62/python/cpython/pull/135395 |
| og:image:alt | (cherry picked from commit b706ff0)
Co-authored-by: Malcolm Smith smith@chaquo.com
Issue: Py_Main and Py_RunMain SystemExit documentation does not match actual behavior #133264
📚 Documentatio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miss-islington |
| hostname | github.com |
| expected-hostname | github.com |
| None | a08040246389072795e3b4e7b33c6d9a0c564eee02e829a809326d67c418b069 |
| turbo-cache-control | no-cache |
| 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 | d1b91b18e7330fc458dfd824c61eaed7daa830d6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/135395#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F135395 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F135395 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/135395 |
| Reload | https://github.com/python/cpython/pull/135395 |
| Reload | https://github.com/python/cpython/pull/135395 |
| Please reload this page | https://github.com/python/cpython/pull/135395 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/135395 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| vstinner | https://github.com/vstinner |
| python:3.13 | https://github.com/python/cpython/tree/3.13 |
| miss-islington:backport-b706ff0-3.13 | https://github.com/miss-islington/cpython/tree/backport-b706ff0-3.13 |
| Conversation | https://github.com/python/cpython/pull/135395 |
| Commits1 (1) | https://github.com/python/cpython/pull/135395/commits |
| Checks | https://github.com/python/cpython/pull/135395/checks |
| Files changed | https://github.com/python/cpython/pull/135395/files |
| [3.13] gh-133264: Correct documentation of how Py_Main and Py_RunMain handle SystemExit (GH-135337) | https://github.com/python/cpython/pull/135395#top |
| vstinner | https://github.com/vstinner |
| python:3.13 | https://github.com/python/cpython/tree/3.13 |
| miss-islington:backport-b706ff0-3.13 | https://github.com/miss-islington/cpython/tree/backport-b706ff0-3.13 |
|
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#issue-3137251098 |
| Please reload this page | https://github.com/python/cpython/pull/135395 |
| b706ff0 | https://github.com/python/cpython/commit/b706ff003c536c5bca24dfdd3a8917bffcfa3df1 |
| Py_Main and Py_RunMain SystemExit documentation does not match actual behavior #133264 | https://github.com/python/cpython/issues/133264 |
| https://cpython-previews--135395.org.readthedocs.build/ | https://cpython-previews--135395.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/135395 |
|
| https://github.com/mhsmith |
|
| https://github.com/miss-islington |
| pythongh-133264 | https://github.com/python/cpython/issues/133264 |
| : Correct documentation of how Py_Main and Py_RunMain … | https://github.com/python/cpython/pull/135395/commits/1b98f7e55c9014ef93104c2fc2d0fe61b4873907 |
| 1b98f7e | https://github.com/python/cpython/pull/135395/commits/1b98f7e55c9014ef93104c2fc2d0fe61b4873907 |
| pythonGH-135337 | https://github.com/python/cpython/pull/135337 |
| b706ff0 | https://github.com/miss-islington/cpython/commit/b706ff003c536c5bca24dfdd3a8917bffcfa3df1 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#event-18096901826 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jun 11, 2025
| https://github.com/python/cpython/pull/135395#ref-pullrequest-3132858093 |
|
gh-133264: Correct documentation of how Py_Main and Py_RunMain handle SystemExit
#135337
| https://github.com/python/cpython/pull/135337 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#event-18096902656 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#event-18096903827 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#event-18096904008 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jun 11, 2025
| https://github.com/python/cpython/pull/135395#ref-issue-3034203796 |
|
Py_Main and Py_RunMain SystemExit documentation does not match actual behavior
#133264
| https://github.com/python/cpython/issues/133264 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| d24d925 | https://github.com/python/cpython/commit/d24d925ab7d4a137d6cd5749ffd43ec634d5c074 |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#event-18097061113 |
| Please reload this page | https://github.com/python/cpython/pull/135395 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#event-18097062351 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jun 11, 2025 | https://github.com/python/cpython/pull/135395#event-18097061915 |
| past-hypothesis | https://github.com/past-hypothesis |
|
Jul 14, 2025
| https://github.com/python/cpython/pull/135395#ref-commit-69ff593 |
|
| https://github.com/miss-islington |
|
| https://github.com/mhsmith |
|
| https://github.com/past-hypothesis |
| [3.13] | https://github.com/past-hypothesis/cpython-near/commit/69ff59317715bdab282ac90f2b5dd560f4088526 |
| pythongh-133264 | https://github.com/python/cpython/issues/133264 |
| : Correct documentation of how Py_Main and Py_R… | https://github.com/past-hypothesis/cpython-near/commit/69ff59317715bdab282ac90f2b5dd560f4088526 |
| 69ff593 | https://github.com/past-hypothesis/cpython-near/commit/69ff59317715bdab282ac90f2b5dd560f4088526 |
| pythonGH-135337 | https://github.com/python/cpython/pull/135337 |
| python#135395 | https://github.com/python/cpython/pull/135395 |
| pythongh-133264 | https://github.com/python/cpython/issues/133264 |
| pythonGH-135337 | https://github.com/python/cpython/pull/135337 |
| b706ff0 | https://github.com/past-hypothesis/cpython-near/commit/b706ff003c536c5bca24dfdd3a8917bffcfa3df1 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| January 2, 2026 18:09 | https://github.com/python/cpython/pull/135395#event-21830392016 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F135395 |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
|
Docs PRs
| https://github.com/orgs/python/projects/50 |
| Please reload this page | https://github.com/python/cpython/pull/135395 |
|
| https://github.com/miss-islington |
|
| https://github.com/vstinner |
|
| https://github.com/mhsmith |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |