René's URL Explorer Experiment


Title: bpo-36763: Implement the PEP 587 by vstinner · Pull Request #13592 · python/cpython · GitHub

Open Graph Title: bpo-36763: Implement the PEP 587 by vstinner · Pull Request #13592 · python/cpython

X Title: bpo-36763: Implement the PEP 587 by vstinner · Pull Request #13592 · python/cpython

Description: Add a whole new documentation page: "Python Initialization Configuration" PyWideStringList_Append() return type is now PyStatus, instead of int PyInterpreterState_New() now calls PyConfig_Clear() if PyConfig_InitPythonConfig() fails. Rename files: Python/coreconfig.c => Python/initconfig.c Include/cpython/coreconfig.h => Include/cpython/initconfig.h Include/internal/: pycore_coreconfig.h => pycore_initconfig.h Rename structures _PyCoreConfig => PyConfig _PyPreConfig => PyPreConfig _PyInitError => PyStatus _PyWstrList => PyWideStringList Rename PyConfig fields: use_module_search_paths => module_search_paths_set module_search_path_env => pythonpath_env Rename PyStatus field: _func => func PyInterpreterState: rename core_config field to config Rename macros and functions: _PyCoreConfig_SetArgv() => PyConfig_SetBytesArgv() _PyCoreConfig_SetWideArgv() => PyConfig_SetArgv() _PyCoreConfig_DecodeLocale() => PyConfig_SetBytesString() _PyInitError_Failed() => PyStatus_Exception() _Py_INIT_ERROR_TYPE_xxx enums => _PyStatus_TYPE_xxx _Py_UnixMain() => Py_BytesMain() _Py_ExitInitError() => Py_ExitStatusException() _Py_PreInitializeFromArgs() => Py_PreInitializeFromBytesArgs() _Py_PreInitializeFromWideArgs() => Py_PreInitializeFromArgs() _Py_PreInitialize() => Py_PreInitialize() _Py_RunMain() => Py_RunMain() _Py_InitializeFromConfig() => Py_InitializeFromConfig() _Py_INIT_XXX() => _PyStatus_XXX() _Py_INIT_FAILED() => _PyStatus_EXCEPTION() Rename 'err' PyStatus variables to 'status' Convert RUN_CODE() macro to config_run_code() static inline function Remove functions: _Py_InitializeFromArgs() _Py_InitializeFromWideArgs() _PyInterpreterState_GetCoreConfig() https://bugs.python.org/issue36763

Open Graph Description: Add a whole new documentation page: "Python Initialization Configuration" PyWideStringList_Append() return type is now PyStatus, instead of int PyInterpreterState_New() now calls PyCo...

X Description: Add a whole new documentation page: "Python Initialization Configuration" PyWideStringList_Append() return type is now PyStatus, instead of int PyInterpreterState_New() now ca...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9c9d37da-9c42-93a0-8dc5-e85339486000
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC330:11597D:52040A:6F9C45:6A4F34D8
html-safe-noncefd8f641cebea492b57f6fd4b620ddacd53a0b0cdb4ad0f968b50581fae45f8fb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzMwOjExNTk3RDo1MjA0MEE6NkY5QzQ1OjZBNEYzNEQ4IiwidmlzaXRvcl9pZCI6IjczMTg0NjAzNjk2MjU2MjU4MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4a5c8fd3e8dde7779c338cb80cfb6072df70f33f01df5fb69df555a035050b40
hovercard-subject-tagpull_request:282523049
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/13592/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 whole new documentation page: "Python Initialization Configuration" PyWideStringList_Append() return type is now PyStatus, instead of int PyInterpreterState_New() now calls PyCo...
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/13592/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F13592%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
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%2F13592%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/13592/files
Reloadhttps://github.com/python/cpython/pull/13592/files
Reloadhttps://github.com/python/cpython/pull/13592/files
Please reload this pagehttps://github.com/python/cpython/pull/13592/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/13592/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 0 https://github.com/python/cpython/pull/13592
Commits 3 https://github.com/python/cpython/pull/13592/commits
Checks 0 https://github.com/python/cpython/pull/13592/checks
Files changed https://github.com/python/cpython/pull/13592/files
Please reload this pagehttps://github.com/python/cpython/pull/13592/files
bpo-36763: Implement the PEP 587 https://github.com/python/cpython/pull/13592/files#top
Show all changes 3 commits https://github.com/python/cpython/pull/13592/files
ae29b4b bpo-36763: Implement the PEP 587 vstinner May 27, 2019 https://github.com/python/cpython/pull/13592/commits/ae29b4b1863f2803607fbba114b5ee39841156d8
4845996 Fix compilation errors vstinner May 27, 2019 https://github.com/python/cpython/pull/13592/commits/4845996a064336e529dd8b9f87d969ef08da515e
5389bfc Fix more compilation errors vstinner May 27, 2019 https://github.com/python/cpython/pull/13592/commits/5389bfc58d56db942aba5224490cef025b71ea03
Clear filters https://github.com/python/cpython/pull/13592/files
Please reload this pagehttps://github.com/python/cpython/pull/13592/files
Please reload this pagehttps://github.com/python/cpython/pull/13592/files
index.rst https://github.com/python/cpython/pull/13592/files#diff-5a1b427444cb9127087ac6de7bfce55b2e48ecdb36c512ffe254f7093360f1e6
init_config.rst https://github.com/python/cpython/pull/13592/files#diff-283c61ee582a6dbb765f3a03a57930c2b6e4948a67464e50b6fec3d80a12df1f
veryhigh.rst https://github.com/python/cpython/pull/13592/files#diff-f12744846bbcc1b08e6c6faf291c0c46b891a525908b87c10d388ad0152e3cb1
3.8.rst https://github.com/python/cpython/pull/13592/files#diff-fc26ec44ce02bff5ba0fc0c1c750748ff5dea3bec156c6fdf3f666d943e81992
Python.h https://github.com/python/cpython/pull/13592/files#diff-f60ef9db994347493c9ad11a939d46272a5b9a3d03e9aa22f186a87dd9ce8769
initconfig.h https://github.com/python/cpython/pull/13592/files#diff-35a650b0af7753c2aee8a2a7512fe62158d8b7150bf79ebf1c32201b00cc5124
pylifecycle.h https://github.com/python/cpython/pull/13592/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
pystate.h https://github.com/python/cpython/pull/13592/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f
pycore_coreconfig.h https://github.com/python/cpython/pull/13592/files#diff-02def1b5d69a745d44b19c86d5bb0623a8a1bf065bf46a1226c67de51c968aa7
pycore_initconfig.h https://github.com/python/cpython/pull/13592/files#diff-18955faf9bcc909d91ecdd289135e41643c0c499eb5039424c26ee6f18be53f7
pycore_pathconfig.h https://github.com/python/cpython/pull/13592/files#diff-d6407f1795dbf22a73edcd52999f463485fb0595f06554d602bb276d9f7d36d6
pycore_pylifecycle.h https://github.com/python/cpython/pull/13592/files#diff-654f110e8bb3ccaa35433482309c4552cd8d74958bfb8b780daa6222f8ab2859
pycore_pystate.h https://github.com/python/cpython/pull/13592/files#diff-76818a128869986e3de4f16dae0257c430008546f04764cd7ad8254abfa5ce83
test_embed.py https://github.com/python/cpython/pull/13592/files#diff-573be25566e43f5adc6650ad1b58d106dbbd79521cb9c6e6d5df9588616a1ffd
Makefile.pre.in https://github.com/python/cpython/pull/13592/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c
2019-05-27-12-25-25.bpo-36763.bHCA9j.rst https://github.com/python/cpython/pull/13592/files#diff-15e8ae488ab7094af4d757ef95f1f261afb60afd3e3937c5b101604ffc8c9a3d
_iomodule.c https://github.com/python/cpython/pull/13592/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
iobase.c https://github.com/python/cpython/pull/13592/files#diff-ff67b9b1e4944ed1b8750a6c53db460f2f8e98f073177e64a32e990844520e90
_testinternalcapi.c https://github.com/python/cpython/pull/13592/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126
faulthandler.c https://github.com/python/cpython/pull/13592/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
getpath.c https://github.com/python/cpython/pull/13592/files#diff-ad0a6e4fd367f158f5af826b512704cef7808813c3a3a474f9d8a10b5ef75e45
main.c https://github.com/python/cpython/pull/13592/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2
bytearrayobject.c https://github.com/python/cpython/pull/13592/files#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
bytesobject.c https://github.com/python/cpython/pull/13592/files#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51
exceptions.c https://github.com/python/cpython/pull/13592/files#diff-96c4ad902cdfac48712fef8fff0d0c78a71eb135fb48264f3ebb67db1013fc94
listobject.c https://github.com/python/cpython/pull/13592/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81
moduleobject.c https://github.com/python/cpython/pull/13592/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5
object.c https://github.com/python/cpython/pull/13592/files#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363
tupleobject.c https://github.com/python/cpython/pull/13592/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77
unicodeobject.c https://github.com/python/cpython/pull/13592/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
getpathp.c https://github.com/python/cpython/pull/13592/files#diff-e1cdb17c354ff4dd236c080589691ab82f18cd5a76ac34968b596512ceea9c6b
pythoncore.vcxproj https://github.com/python/cpython/pull/13592/files#diff-4295039788386c2986b811f2a6b59cf088be59822b24b4f1243c9e9b184f65fb
pythoncore.vcxproj.filters https://github.com/python/cpython/pull/13592/files#diff-9e715828befc9c50c8b483b06d4923cda0db44f57d0c20e6a6d428ba60bfa0c5
_freeze_importlib.c https://github.com/python/cpython/pull/13592/files#diff-234de3c1e1119df6c7570b71e6acda500058c5691d50dbc893a4ba38073c9c93
_testembed.c https://github.com/python/cpython/pull/13592/files#diff-68b4b67b7265522a6f47393ef786b2034f5d6c53f1a9574780d72662c2361fad
python.c https://github.com/python/cpython/pull/13592/files#diff-c1d35c064876f032a64e15680e20caae226f368eb985fa510584401eb10f7e96
bltinmodule.c https://github.com/python/cpython/pull/13592/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
bootstrap_hash.c https://github.com/python/cpython/pull/13592/files#diff-711e9ece55e6c88a5f41a37929104331637766b4b922274a8a7892530fb356e4
compile.c https://github.com/python/cpython/pull/13592/files#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057
dynload_hpux.c https://github.com/python/cpython/pull/13592/files#diff-60a4aefd4f3f92cb6ffda5618c97afbc4d408b5cbbb990c0ddff3f3068f4375b
errors.c https://github.com/python/cpython/pull/13592/files#diff-c37c836d0535b79d87b8eb0652c59ac0c2aeb1461bcb2274bee82656cecacad4
frozenmain.c https://github.com/python/cpython/pull/13592/files#diff-2703d388c9e22fb13c0ab0de85bc43438d02c29b9658784cbab214deea89bae6
import.c https://github.com/python/cpython/pull/13592/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3
initconfig.c https://github.com/python/cpython/pull/13592/files#diff-bde30a9f2283aadeea54d703778ec8edf01c71bac3cfe6479035fc13ddc3296b
pathconfig.c https://github.com/python/cpython/pull/13592/files#diff-09327e0a986b458413322c8ef2c9f7ff06f191cc79520787f95db7598e633415
preconfig.c https://github.com/python/cpython/pull/13592/files#diff-a1a9690b1dad0706a879eb408d93a2a4467ac7a7cab949a10d53f993b9bd0138
pylifecycle.c https://github.com/python/cpython/pull/13592/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad
pystate.c https://github.com/python/cpython/pull/13592/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141
pythonrun.c https://github.com/python/cpython/pull/13592/files#diff-2ecd9b536bc387479d824dc4b53f89679d6978d25c6b8a28ab21ed03e745e46e
sysmodule.c https://github.com/python/cpython/pull/13592/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
Doc/c-api/index.rsthttps://github.com/python/cpython/pull/13592/files#diff-5a1b427444cb9127087ac6de7bfce55b2e48ecdb36c512ffe254f7093360f1e6
View file https://github.com/python/cpython/blob/5389bfc58d56db942aba5224490cef025b71ea03/Doc/c-api/index.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/13592/{{ revealButtonHref }}
https://github.com/python/cpython/pull/13592/files#diff-5a1b427444cb9127087ac6de7bfce55b2e48ecdb36c512ffe254f7093360f1e6
Please reload this pagehttps://github.com/python/cpython/pull/13592/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.