René's URL Explorer Experiment


Title: gh-107658: Use same logic to look for exec_prefix as for prefix by jpe · Pull Request #107661 · python/cpython · GitHub

Open Graph Title: gh-107658: Use same logic to look for exec_prefix as for prefix by jpe · Pull Request #107661 · python/cpython

X Title: gh-107658: Use same logic to look for exec_prefix as for prefix by jpe · Pull Request #107661 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Look for landmark for exec_prefix in library_dir Issue: exec_prefix not found when prefix is found at runtime when install tree is moved #107658

X Description: Look for landmark for exec_prefix in library_dir Issue: exec_prefix not found when prefix is found at runtime when install tree is moved #107658

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:fa37ce0d-0b27-c445-318b-d4e2c857e919
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD732:57C75:898B8C:C199E4:6A5107C3
html-safe-nonce9cd1400cd82b3f47722ee1d4c38e4f7574ce8eb8c2af90c0750dee8571713558
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzMyOjU3Qzc1Ojg5OEI4QzpDMTk5RTQ6NkE1MTA3QzMiLCJ2aXNpdG9yX2lkIjoiOTE2MDIxOTg0NDU0MDQzNDM3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace05304b352c1effdd1229d4e058a1f236b5845b72091017d91fa82ca642db0e5
hovercard-subject-tagpull_request:1463826227
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/107661/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5891e3e77fdce3ae905aa30ec7eaaac4cc8dc56219371c778f051d64107a2d09/python/cpython/pull/107661
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5891e3e77fdce3ae905aa30ec7eaaac4cc8dc56219371c778f051d64107a2d09/python/cpython/pull/107661
og:image:altLook for landmark for exec_prefix in library_dir Issue: exec_prefix not found when prefix is found at runtime when install tree is moved #107658
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejpe
hostnamegithub.com
expected-hostnamegithub.com
Noneb076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2d129404fc45ea64edb1b98567c53e55b395536f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/107661#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107661
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%2F107661
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
Reloadhttps://github.com/python/cpython/pull/107661
Reloadhttps://github.com/python/cpython/pull/107661
Reloadhttps://github.com/python/cpython/pull/107661
Please reload this pagehttps://github.com/python/cpython/pull/107661
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/107661
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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
jpehttps://github.com/jpe
python:mainhttps://github.com/python/cpython/tree/main
jpe:fix-issue-107658https://github.com/jpe/cpython/tree/fix-issue-107658
Conversationhttps://github.com/python/cpython/pull/107661
Commits2 (2)https://github.com/python/cpython/pull/107661/commits
Checkshttps://github.com/python/cpython/pull/107661/checks
Files changedhttps://github.com/python/cpython/pull/107661/files
gh-107658: Use same logic to look for exec_prefix as for prefix https://github.com/python/cpython/pull/107661#top
jpehttps://github.com/jpe
python:mainhttps://github.com/python/cpython/tree/main
jpe:fix-issue-107658https://github.com/jpe/cpython/tree/fix-issue-107658
https://github.com/jpe
jpehttps://github.com/jpe
Aug 5, 2023https://github.com/python/cpython/pull/107661#issue-1837770542
Please reload this pagehttps://github.com/python/cpython/pull/107661
exec_prefix not found when prefix is found at runtime when install tree is moved #107658https://github.com/python/cpython/issues/107658
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/jpe
Use same logic to look for exec_prefix as for prefixhttps://github.com/python/cpython/pull/107661/commits/c3213857163e401ec609d87db965bfa9c53c3e64
c321385https://github.com/python/cpython/pull/107661/commits/c3213857163e401ec609d87db965bfa9c53c3e64
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 5, 2023 https://github.com/python/cpython/pull/107661#ref-issue-1837759059
exec_prefix not found when prefix is found at runtime when install tree is moved #107658 https://github.com/python/cpython/issues/107658
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 5, 2023https://github.com/python/cpython/pull/107661#event-10015360002
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 5, 2023https://github.com/python/cpython/pull/107661#issuecomment-1666510917
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/ghost
ghosthttps://github.com/ghost
Aug 5, 2023https://github.com/python/cpython/pull/107661#issuecomment-1666510979
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://cpython-clabot.herokuapp.com/signed-contributor-license-agreement?version=96a49432b8b111ec9bf5bfe9ad6c72c4
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 5, 2023https://github.com/python/cpython/pull/107661#issuecomment-1666516890
@jpehttps://github.com/jpe
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Aug 5, 2023https://github.com/python/cpython/pull/107661#event-10015408123
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
zoobahttps://github.com/zooba
August 5, 2023 14:13https://github.com/python/cpython/pull/107661#event-10015409304
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/107661/commits/b91433e364d0873bd9deef61b001a1268bc0a43f
b91433ehttps://github.com/python/cpython/pull/107661/commits/b91433e364d0873bd9deef61b001a1268bc0a43f
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Aug 6, 2023 https://github.com/python/cpython/pull/107661#pullrequestreview-1564106015
View reviewed changes https://github.com/python/cpython/pull/107661/files/b91433e364d0873bd9deef61b001a1268bc0a43f
Misc/NEWS.d/next/Core and Builtins/2023-08-05-15-15-09.gh-issue-107658.wGMCYf.rsthttps://github.com/python/cpython/pull/107661/files/b91433e364d0873bd9deef61b001a1268bc0a43f#diff-ef739a8945b780bf37be4073cd9f95bf6bf57f83d99f3f6ce59d71e1293dec24
sunmy2019https://github.com/sunmy2019
Aug 6, 2023https://github.com/python/cpython/pull/107661#discussion_r1285182507
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/zooba
zoobahttps://github.com/zooba
Aug 8, 2023 https://github.com/python/cpython/pull/107661#pullrequestreview-1567199145
View reviewed changes https://github.com/python/cpython/pull/107661/files/b91433e364d0873bd9deef61b001a1268bc0a43f
Modules/getpath.pyhttps://github.com/python/cpython/pull/107661/files/b91433e364d0873bd9deef61b001a1268bc0a43f#diff-6fce05f0b43cd31ded3d7c0b3db040a75a61c79874dd660485f040a1773e3418
zoobahttps://github.com/zooba
Aug 8, 2023https://github.com/python/cpython/pull/107661#discussion_r1287055856
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/107661
jpehttps://github.com/jpe
Aug 8, 2023https://github.com/python/cpython/pull/107661#discussion_r1287089439
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/107661
zoobahttps://github.com/zooba
Aug 8, 2023https://github.com/python/cpython/pull/107661#discussion_r1287480118
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
May 9, 2024https://github.com/python/cpython/pull/107661#event-12756638468
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 8, 2025https://github.com/python/cpython/pull/107661#event-17573682858
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
May 29, 2025https://github.com/python/cpython/pull/107661#event-17875129459
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 13, 2026https://github.com/python/cpython/pull/107661#issuecomment-4236324316
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 13, 2026https://github.com/python/cpython/pull/107661#event-24445429993
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 30, 2026https://github.com/python/cpython/pull/107661#event-26140134844
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jun 5, 2026https://github.com/python/cpython/pull/107661#event-26398577905
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107661
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/107661/files/b91433e364d0873bd9deef61b001a1268bc0a43f
https://github.com/sunmy2019
sunmy2019 https://github.com/sunmy2019
https://github.com/python/cpython/pull/107661/files/b91433e364d0873bd9deef61b001a1268bc0a43f
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Please reload this pagehttps://github.com/python/cpython/pull/107661
https://github.com/jpe
https://github.com/bedevere-bot
https://github.com/AA-Turner
https://github.com/zooba
https://github.com/sunmy2019
https://github.com/serhiy-storchaka
https://github.com/ZeroIntensity
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.