| 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:a0ff041a-197e-b64f-8492-e5694595bfbd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4FC:E786A:30951C:43D6F4:6A57B758 |
| html-safe-nonce | bdc25e426c683c3be336189f5905aed083340faedb0a67903232af19b9c97286 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEZDOkU3ODZBOjMwOTUxQzo0M0Q2RjQ6NkE1N0I3NTgiLCJ2aXNpdG9yX2lkIjoiNzE2NTI1NTMzNDIzOTkwOTcyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6231fbb24b4da0b693488453ea357501b4ea366bbb37390b8e73cee074ffbc40 |
| hovercard-subject-tag | pull_request:3721299750 |
| 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/150177/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/01135995c8246711158d9d6bc8491e8c54fb926a808808c4ea559bf4cc50e19e/python/cpython/pull/150177 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01135995c8246711158d9d6bc8491e8c54fb926a808808c4ea559bf4cc50e19e/python/cpython/pull/150177 |
| og:image:alt | Followup to #149888 and #149819 - Fix by @IntentBug in the original PR, with test cases and review by @warsaw
Issue: New site.py implementation fails to load .pth files in subprocesses #149819 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | warsaw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 899c314dfde9abcf8fc1fe8c04f09866b347ea06f43166d653afc482795c9fca |
| 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 | 67aa73f3bba9e68b2de0ebe01c65fcd120461cba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/150177#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150177 |
| 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%2F150177 |
|
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/150177 |
| Reload | https://github.com/python/cpython/pull/150177 |
| Reload | https://github.com/python/cpython/pull/150177 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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 |
| warsaw | https://github.com/warsaw |
| python:main | https://github.com/python/cpython/tree/main |
| warsaw:gh-149819-fix-pth-subprocess | https://github.com/warsaw/cpython/tree/gh-149819-fix-pth-subprocess |
| Conversation | https://github.com/python/cpython/pull/150177 |
| Commits6 (6) | https://github.com/python/cpython/pull/150177/commits |
| Checks | https://github.com/python/cpython/pull/150177/checks |
| Files changed | https://github.com/python/cpython/pull/150177/files |
| gh-149819: fix .pth and .start file processing in subprocess when inheriting PYTHONPATH | https://github.com/python/cpython/pull/150177#top |
| warsaw | https://github.com/warsaw |
| python:main | https://github.com/python/cpython/tree/main |
| warsaw:gh-149819-fix-pth-subprocess | https://github.com/warsaw/cpython/tree/gh-149819-fix-pth-subprocess |
|
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issue-4492058141 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| #149888 | https://github.com/python/cpython/pull/149888 |
| #149819 | https://github.com/python/cpython/issues/149819 |
| @IntentBug | https://github.com/IntentBug |
| @warsaw | https://github.com/warsaw |
| New site.py implementation fails to load .pth files in subprocesses #149819 | https://github.com/python/cpython/issues/149819 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| May 20, 2026 11:57 | https://github.com/python/cpython/pull/150177#commits-pushed-a07037d |
|
| https://github.com/warsaw |
| pythongh-149819 | https://github.com/python/cpython/issues/149819 |
| : Fix .pth files not loaded in Python subprocesses | https://github.com/python/cpython/pull/150177/commits/a07037d752dc095d1c25fbdff3c4cda5346c07af |
| a07037d | https://github.com/python/cpython/pull/150177/commits/a07037d752dc095d1c25fbdff3c4cda5346c07af |
| pythongh-149583 | https://github.com/python/cpython/pull/149583 |
| pythongh-75723 | https://github.com/python/cpython/issues/75723 |
|
| https://github.com/warsaw |
| Fill out the tests for GH#149888 | https://github.com/python/cpython/pull/150177/commits/201053dcebc69e1ab18e7adc31fe6fbb75e0c584 |
| 201053d | https://github.com/python/cpython/pull/150177/commits/201053dcebc69e1ab18e7adc31fe6fbb75e0c584 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#event-25789471741 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| FFY00 | https://github.com/FFY00 |
| code owner | https://github.com/python/cpython/blob/cb3b4b98d8d141c9de0462a0fa7e227a2104c1c7/.github/CODEOWNERS#L576 |
| May 21, 2026 05:44 | https://github.com/python/cpython/pull/150177#event-25789471955 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
|
needs backport to 3.15
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22 |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#event-25789472160 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
May 21, 2026
| https://github.com/python/cpython/pull/150177#ref-issue-4443883056 |
|
New site.py implementation fails to load .pth files in subprocesses
#149819
| https://github.com/python/cpython/issues/149819 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#event-25789475076 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issuecomment-4505148366 |
| @tcely | https://github.com/tcely |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issuecomment-4505150735 |
| @scoder | https://github.com/scoder |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
|
| https://github.com/warsaw |
| Merge branch 'main' into | https://github.com/python/cpython/pull/150177/commits/9c53ee4f2a58132f24312b64ca3f3c29e2e5f5ed |
| pythongh-149819 | https://github.com/python/cpython/issues/149819 |
| -fix-pth-subprocess | https://github.com/python/cpython/pull/150177/commits/9c53ee4f2a58132f24312b64ca3f3c29e2e5f5ed |
| 9c53ee4 | https://github.com/python/cpython/pull/150177/commits/9c53ee4f2a58132f24312b64ca3f3c29e2e5f5ed |
| https://github.com/tcely |
| tcely | https://github.com/tcely |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issuecomment-4505470982 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| https://github.com/scoder |
| scoder | https://github.com/scoder |
|
May 21, 2026
| https://github.com/python/cpython/pull/150177#pullrequestreview-4334710441 |
|
View reviewed changes
| https://github.com/python/cpython/pull/150177/files/9c53ee4f2a58132f24312b64ca3f3c29e2e5f5ed |
| Lib/site.py | https://github.com/python/cpython/pull/150177/files/9c53ee4f2a58132f24312b64ca3f3c29e2e5f5ed#diff-0783c435d23e776f5f679cb9c63f2ad98ad13047204562ed2408bd85aa17fd33 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#event-25792064851 |
| https://github.com/scoder |
| scoder | https://github.com/scoder |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issuecomment-4505680930 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
|
| https://github.com/warsaw |
|
| https://github.com/scoder |
| Update Lib/site.py | https://github.com/python/cpython/pull/150177/commits/78094f8e2fe73c64291c4d70fece75c3c2c73b03 |
| 78094f8 | https://github.com/python/cpython/pull/150177/commits/78094f8e2fe73c64291c4d70fece75c3c2c73b03 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issuecomment-4512330278 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| warsaw | https://github.com/warsaw |
| May 21, 2026 13:04 | https://github.com/python/cpython/pull/150177#commits-pushed-2575e1d |
|
| https://github.com/warsaw |
| Merge branch 'main' into | https://github.com/python/cpython/pull/150177/commits/2575e1df9fe9d4c8b045d000d255ec8a724061e6 |
| pythongh-149819 | https://github.com/python/cpython/issues/149819 |
| -fix-pth-subprocess | https://github.com/python/cpython/pull/150177/commits/2575e1df9fe9d4c8b045d000d255ec8a724061e6 |
| 2575e1d | https://github.com/python/cpython/pull/150177/commits/2575e1df9fe9d4c8b045d000d255ec8a724061e6 |
|
| https://github.com/warsaw |
| Oops! Remove redundant code | https://github.com/python/cpython/pull/150177/commits/d289f154d3b64eef8e883b8d8fe6a0b0e24bc30c |
| d289f15 | https://github.com/python/cpython/pull/150177/commits/d289f154d3b64eef8e883b8d8fe6a0b0e24bc30c |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| May 21, 2026 20:20 | https://github.com/python/cpython/pull/150177#event-25823050543 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| 3c298e2 | https://github.com/python/cpython/commit/3c298e2e385fc6f462abaada2fd680deb1a2b58e |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#event-25825826933 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issuecomment-4513025417 |
| @warsaw | https://github.com/warsaw |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#event-25825828864 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#issuecomment-4513026947 |
| GH-150202 | https://github.com/python/cpython/pull/150202 |
| 3.15 branch | https://github.com/python/cpython/tree/3.15 |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.15
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22 |
| May 21, 2026 | https://github.com/python/cpython/pull/150177#event-25825836189 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
| May 21, 2026 22:29 | https://github.com/python/cpython/pull/150177#event-25827075289 |
| warsaw | https://github.com/warsaw |
|
May 21, 2026
| https://github.com/python/cpython/pull/150177#ref-commit-233cf75 |
|
| https://github.com/miss-islington |
|
| https://github.com/warsaw |
|
| https://github.com/scoder |
| [3.15] | https://github.com/python/cpython/commit/233cf75d6db0d8a915114c4cc4f8182afe510ed1 |
| gh-149819 | https://github.com/python/cpython/issues/149819 |
| : fix .pth and .start file processing in subprocess w… | https://github.com/python/cpython/commit/233cf75d6db0d8a915114c4cc4f8182afe510ed1 |
| 233cf75 | https://github.com/python/cpython/commit/233cf75d6db0d8a915114c4cc4f8182afe510ed1 |
| GH-150177 | https://github.com/python/cpython/pull/150177 |
| #150202 | https://github.com/python/cpython/pull/150202 |
| gh-149819 | https://github.com/python/cpython/issues/149819 |
| GH-150177 | https://github.com/python/cpython/pull/150177 |
| gh-149819 | https://github.com/python/cpython/issues/149819 |
| gh-149583 | https://github.com/python/cpython/pull/149583 |
| gh-75723 | https://github.com/python/cpython/issues/75723 |
| 3c298e2 | https://github.com/python/cpython/commit/3c298e2e385fc6f462abaada2fd680deb1a2b58e |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
|
May 21, 2026
| https://github.com/python/cpython/pull/150177#ref-pullrequest-4455397809 |
|
gh-149819: Fix .pth files not loaded in Python subprocesses
#149888
| https://github.com/python/cpython/pull/149888 |
| 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%2F150177 |
|
| https://github.com/scoder |
|
scoder
| https://github.com/scoder |
|
| https://github.com/python/cpython/pull/150177/files/9c53ee4f2a58132f24312b64ca3f3c29e2e5f5ed |
|
| https://github.com/FFY00 |
|
FFY00
| https://github.com/FFY00 |
|
| https://github.com/tcely |
|
tcely
| https://github.com/tcely |
|
| https://github.com/python/cpython/pull/150177/files/9c53ee4f2a58132f24312b64ca3f3c29e2e5f5ed |
|
| https://github.com/warsaw |
|
warsaw
| https://github.com/warsaw |
| Please reload this page | https://github.com/python/cpython/pull/150177 |
|
| https://github.com/warsaw |
|
| https://github.com/tcely |
|
| https://github.com/scoder |
|
| 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 |