| 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:70f6d033-4f56-ccf8-140c-6e64ef7664e9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B10A:1C7458:86B4F9A:B1AFAF5:696DE7E3 |
| html-safe-nonce | 9614657f888b945fd5ef3569e8b9e77f3618ac589f227a9192cdfd05a3c3a5a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTBBOjFDNzQ1ODo4NkI0RjlBOkIxQUZBRjU6Njk2REU3RTMiLCJ2aXNpdG9yX2lkIjoiNTYxMjYzNTg2NjU4NTIyOTI4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6e0e5f30ec605d9f6ee4706d5cf99687d9c84b31c4a2f3c1e4f91c06b1e5bbf5 |
| hovercard-subject-tag | pull_request:743756829 |
| 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/28586/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/30967e52d50f90d0e0db1c06a3dbf7198816615dea4c65c83d67c41de36e70de/python/cpython/pull/28586 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30967e52d50f90d0e0db1c06a3dbf7198816615dea4c65c83d67c41de36e70de/python/cpython/pull/28586 |
| og:image:alt | During runtime startup we figure out the stdlib dir but currently throw that information away. This PR preserves it and exposes it via PyConfig.stdlib_dir, _Py_GetStdlibDir(), and sys._stdlib_dir.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/28586#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F28586 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F28586 |
|
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/28586 |
| Reload | https://github.com/python/cpython/pull/28586 |
| Reload | https://github.com/python/cpython/pull/28586 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
|
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
| 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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/28586#issue-comment-box |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:main | https://github.com/python/cpython/tree/main |
| ericsnowcurrently:config-stdlib-dir | https://github.com/ericsnowcurrently/cpython/tree/config-stdlib-dir |
|
bpo-45211: Remember the stdlib dir during startup.
| https://github.com/python/cpython/pull/28586#top |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:main | https://github.com/python/cpython/tree/main |
| ericsnowcurrently:config-stdlib-dir | https://github.com/ericsnowcurrently/cpython/tree/config-stdlib-dir |
|
Conversation
3
| https://github.com/python/cpython/pull/28586 |
|
Commits
4
| https://github.com/python/cpython/pull/28586/commits |
|
Checks
0
| https://github.com/python/cpython/pull/28586/checks |
|
Files changed
| https://github.com/python/cpython/pull/28586/files |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#issue-1008509783 |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
| https://bugs.python.org/issue45211 | https://bugs.python.org/issue45211 |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| September 27, 2021 13:18 | https://github.com/python/cpython/pull/28586#commits-pushed-225302c |
|
| https://github.com/ericsnowcurrently |
| Remember the stdlib dir during startup (adding PyConfig.stdlib_dir an… | https://github.com/python/cpython/pull/28586/commits/225302c310457dc5ddbc32f345be7c8db348c1cb |
| 225302c | https://github.com/python/cpython/pull/28586/commits/225302c310457dc5ddbc32f345be7c8db348c1cb |
|
| https://github.com/ericsnowcurrently |
| Add sys._get_stdlib_dir(). | https://github.com/python/cpython/pull/28586/commits/9339925b436c9e94fb81166e34c376da10e89daf |
| 9339925 | https://github.com/python/cpython/pull/28586/commits/9339925b436c9e94fb81166e34c376da10e89daf |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#event-5367820902 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#event-5367821124 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#event-5367821221 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#event-5367887537 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#issuecomment-928209693 |
| @ericsnowcurrently | https://github.com/ericsnowcurrently |
| 9339925 | https://github.com/python/cpython/commit/9339925b436c9e94fb81166e34c376da10e89daf |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#event-5367887687 |
|
| https://github.com/ericsnowcurrently |
| On Windows, ignore calculate.home for stdlib_dir. | https://github.com/python/cpython/pull/28586/commits/1fe1ff7466c8379f296e23126510e601ac90500b |
| 1fe1ff7 | https://github.com/python/cpython/pull/28586/commits/1fe1ff7466c8379f296e23126510e601ac90500b |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| force-pushed | https://github.com/python/cpython/compare/2fe675b55ba72a5753d4cedb66a929a948557ecf..1fe1ff7466c8379f296e23126510e601ac90500b |
| 2fe675b | https://github.com/python/cpython/commit/2fe675b55ba72a5753d4cedb66a929a948557ecf |
| 1fe1ff7 | https://github.com/python/cpython/commit/1fe1ff7466c8379f296e23126510e601ac90500b |
|
Compare
| https://github.com/python/cpython/compare/2fe675b55ba72a5753d4cedb66a929a948557ecf..1fe1ff7466c8379f296e23126510e601ac90500b |
| September 27, 2021 20:25 | https://github.com/python/cpython/pull/28586#event-5368139139 |
|
| https://github.com/ericsnowcurrently |
| On Windows expect PyConfig.stdlib_dir to be set for the pyvenv.cfg case. | https://github.com/python/cpython/pull/28586/commits/ca5266ed06b50e1002000aa996529fbbe1039639 |
| ca5266e | https://github.com/python/cpython/pull/28586/commits/ca5266ed06b50e1002000aa996529fbbe1039639 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#event-5369296297 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#issuecomment-928462024 |
| @ericsnowcurrently | https://github.com/ericsnowcurrently |
| ca5266e | https://github.com/python/cpython/commit/ca5266ed06b50e1002000aa996529fbbe1039639 |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Sep 27, 2021 | https://github.com/python/cpython/pull/28586#event-5369296445 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| September 28, 2021 00:10 | https://github.com/python/cpython/pull/28586#event-5369412983 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| code owner | https://github.com/python/cpython/blob/95d31370829b7d729667588e0a9943217401ea5b/.github/CODEOWNERS#L107 |
| September 28, 2021 00:10 | https://github.com/python/cpython/pull/28586#event-5369413006 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Sep 28, 2021 | https://github.com/python/cpython/pull/28586#issuecomment-929328139 |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| 0c50b8c | https://github.com/python/cpython/commit/0c50b8c0b8274d54d6b71ed7bd21057d3642f138 |
| Sep 28, 2021 | https://github.com/python/cpython/pull/28586#event-5375767324 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Sep 28, 2021 | https://github.com/python/cpython/pull/28586#event-5375767585 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| September 28, 2021 18:18 | https://github.com/python/cpython/pull/28586#event-5375767813 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Sep 30, 2021
| https://github.com/python/cpython/pull/28586#ref-pullrequest-1012351244 |
|
bpo-21736: Set __file__ on frozen stdlib modules.
#28656
| https://github.com/python/cpython/pull/28656 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Oct 14, 2021
| https://github.com/python/cpython/pull/28586#ref-pullrequest-1026690679 |
|
bpo-45471: Do not set _Py_path_config.stdlib_dir in Py_SetPythonHome().
#28954
| https://github.com/python/cpython/pull/28954 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Oct 14, 2021
| https://github.com/python/cpython/pull/28586#ref-commit-0bbea07 |
|
| https://github.com/ericsnowcurrently |
| bpo-45471 | https://bugs.python.org/issue?@action=redirect&bpo=45471 |
| : Do not set PyConfig.stdlib_dir in Py_SetPythonHome(). ( | https://github.com/python/cpython/commit/0bbea0723ee07f9d7ad9745f0e1875718ef38715 |
| gh-… | https://github.com/python/cpython/pull/28954 |
| 0bbea07 | https://github.com/python/cpython/commit/0bbea0723ee07f9d7ad9745f0e1875718ef38715 |
| …28954 | https://github.com/python/cpython/pull/28954 |
| gh-28586 | https://github.com/python/cpython/pull/28586 |
| bpo-45211 | https://bugs.python.org/issue?@action=redirect&bpo=45211 |
| https://bugs.python.org/issue45471 | https://bugs.python.org/issue45471 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Oct 14, 2021
| https://github.com/python/cpython/pull/28586#ref-commit-79cf20e |
|
| https://github.com/ericsnowcurrently |
| bpo-21736 | https://bugs.python.org/issue?@action=redirect&bpo=21736 |
| : Set __file__ on frozen stdlib modules. ( | https://github.com/python/cpython/commit/79cf20e48d0b5d69d9fac2a0204b5ac2c366066a |
| gh-28656 | https://github.com/python/cpython/pull/28656 |
| ) | https://github.com/python/cpython/commit/79cf20e48d0b5d69d9fac2a0204b5ac2c366066a |
|
| https://github.com/python/cpython/commit/79cf20e48d0b5d69d9fac2a0204b5ac2c366066a#comments |
| 79cf20e | https://github.com/python/cpython/commit/79cf20e48d0b5d69d9fac2a0204b5ac2c366066a |
| gh-28586 | https://github.com/python/cpython/pull/28586 |
| gh-28586 | https://github.com/python/cpython/pull/28586 |
| gh-28655 | https://github.com/python/cpython/pull/28655 |
| https://bugs.python.org/issue21736 | https://bugs.python.org/issue21736 |
| 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%2F28586 |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/28586 |
|
| https://github.com/ericsnowcurrently |
|
| https://github.com/bedevere-bot |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |