René's URL Explorer Experiment


Title: bpo-36142: Rework error reporting in pymain_main() by vstinner · Pull Request #12113 · python/cpython · GitHub

Open Graph Title: bpo-36142: Rework error reporting in pymain_main() by vstinner · Pull Request #12113 · python/cpython

X Title: bpo-36142: Rework error reporting in pymain_main() by vstinner · Pull Request #12113 · python/cpython

Description: Add a new _Py_INIT_EXIT() macro to be able to exit Python with an exitcode using _PyInitError API. Rewrite function calls by pymain_main() to use _PyInitError. Changes: Remove _PyMain.err and _PyMain.status field Add _Py_INIT_EXIT() macro and _PyInitError.exitcode field. Rename _Py_FatalInitError() to _Py_ExitInitError(). https://bugs.python.org/issue36142

Open Graph Description: Add a new _Py_INIT_EXIT() macro to be able to exit Python with an exitcode using _PyInitError API. Rewrite function calls by pymain_main() to use _PyInitError. Changes: Remove _PyMain.err and _PyM...

X Description: Add a new _Py_INIT_EXIT() macro to be able to exit Python with an exitcode using _PyInitError API. Rewrite function calls by pymain_main() to use _PyInitError. Changes: Remove _PyMain.err and _PyM...

Opengraph URL: https://github.com/python/cpython/pull/12113

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:310f178c-b90a-971f-f2ec-64e42cbd03ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC898:34BFFD:3A19DA9:503F01B:6A4F40F2
html-safe-nonce3f348a0e04ede901ebc57f0865ca89aabd343b134273a7cddbba78ad9495bd18
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODk4OjM0QkZGRDozQTE5REE5OjUwM0YwMUI6NkE0RjQwRjIiLCJ2aXNpdG9yX2lkIjoiODU0MjczOTUzNDYzMDA0Mzg5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1700524f1d4633b66448968c327b2897533684cad2f9b0ebd5d505aba4b39e14
hovercard-subject-tagpull_request:257306157
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/12113/files
twitter:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
og:image:altAdd a new _Py_INIT_EXIT() macro to be able to exit Python with an exitcode using _PyInitError API. Rewrite function calls by pymain_main() to use _PyInitError. Changes: Remove _PyMain.err and _PyM...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/12113/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F12113%2Ffiles
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F12113%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/12113/files
Reloadhttps://github.com/python/cpython/pull/12113/files
Reloadhttps://github.com/python/cpython/pull/12113/files
Please reload this pagehttps://github.com/python/cpython/pull/12113/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/12113/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k 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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
vstinnerhttps://github.com/vstinner
python:masterhttps://github.com/python/cpython/tree/master
Conversation 1 https://github.com/python/cpython/pull/12113
Commits 1 https://github.com/python/cpython/pull/12113/commits
Checks 0 https://github.com/python/cpython/pull/12113/checks
Files changed https://github.com/python/cpython/pull/12113/files
Please reload this pagehttps://github.com/python/cpython/pull/12113/files
bpo-36142: Rework error reporting in pymain_main() https://github.com/python/cpython/pull/12113/files#top
Show all changes 1 commit https://github.com/python/cpython/pull/12113/files
6a0d354 bpo-36142: Rework error reporting in pymain_main() vstinner Mar 1, 2019 https://github.com/python/cpython/pull/12113/commits/6a0d35438a0ae04a490e8a3776c1439f907b3990
Clear filters https://github.com/python/cpython/pull/12113/files
Please reload this pagehttps://github.com/python/cpython/pull/12113/files
Please reload this pagehttps://github.com/python/cpython/pull/12113/files
coreconfig.h https://github.com/python/cpython/pull/12113/files#diff-740d146b836af6b605c830215bc0268c33bd96a3e36a1b3edee2608e27cbde04
pylifecycle.h https://github.com/python/cpython/pull/12113/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
main.c https://github.com/python/cpython/pull/12113/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2
_freeze_importlib.c https://github.com/python/cpython/pull/12113/files#diff-234de3c1e1119df6c7570b71e6acda500058c5691d50dbc893a4ba38073c9c93
_testembed.c https://github.com/python/cpython/pull/12113/files#diff-68b4b67b7265522a6f47393ef786b2034f5d6c53f1a9574780d72662c2361fad
frozenmain.c https://github.com/python/cpython/pull/12113/files#diff-2703d388c9e22fb13c0ab0de85bc43438d02c29b9658784cbab214deea89bae6
pathconfig.c https://github.com/python/cpython/pull/12113/files#diff-09327e0a986b458413322c8ef2c9f7ff06f191cc79520787f95db7598e633415
pylifecycle.c https://github.com/python/cpython/pull/12113/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad
Include/cpython/coreconfig.hhttps://github.com/python/cpython/pull/12113/files#diff-740d146b836af6b605c830215bc0268c33bd96a3e36a1b3edee2608e27cbde04
View file https://github.com/python/cpython/blob/6a0d35438a0ae04a490e8a3776c1439f907b3990/Include/cpython/coreconfig.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/12113/{{ revealButtonHref }}
https://github.com/python/cpython/pull/12113/files#diff-740d146b836af6b605c830215bc0268c33bd96a3e36a1b3edee2608e27cbde04
https://github.com/python/cpython/pull/12113/files#diff-740d146b836af6b605c830215bc0268c33bd96a3e36a1b3edee2608e27cbde04
https://github.com/python/cpython/pull/12113/files#diff-740d146b836af6b605c830215bc0268c33bd96a3e36a1b3edee2608e27cbde04
Include/cpython/pylifecycle.hhttps://github.com/python/cpython/pull/12113/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
View file https://github.com/python/cpython/blob/6a0d35438a0ae04a490e8a3776c1439f907b3990/Include/cpython/pylifecycle.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/12113/{{ revealButtonHref }}
https://github.com/python/cpython/pull/12113/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
https://github.com/python/cpython/pull/12113/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
Please reload this pagehttps://github.com/python/cpython/pull/12113/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.