René's URL Explorer Experiment


Title: gh-71189: Support all-but-last mode in os.path.realpath() by serhiy-storchaka · Pull Request #117562 · python/cpython · GitHub

Open Graph Title: gh-71189: Support all-but-last mode in os.path.realpath() by serhiy-storchaka · Pull Request #117562 · python/cpython

X Title: gh-71189: Support all-but-last mode in os.path.realpath() by serhiy-storchaka · Pull Request #117562 · python/cpython

Description: Issue: gh-71189

Open Graph Description: Issue: gh-71189

X Description: Issue: gh-71189

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:695f3894-3b3f-4cd2-94cb-16a6875316e8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA886:ADA9D:40F0B97:532EBED:6B021964
html-safe-noncef17333852d12123267d79f952534ac66d45c67987fbb1e69661710c6da0ecf69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODg2OkFEQTlEOjQwRjBCOTc6NTMyRUJFRDo2QjAyMTk2NCIsInZpc2l0b3JfaWQiOiI5MDQ0ODcyOTc4Nzg0OTgzMzk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaced7c9dfd4d965fccc98ccfe08d4b20352a0bd313a47a618b2e79df727c646ee4
hovercard-subject-tagpull_request:1808987033
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/117562/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altIssue: gh-71189
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/117562/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117562%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117562%2Ffiles
Sign uphttps://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/117562/files
Reloadhttps://github.com/python/cpython/pull/117562/files
Reloadhttps://github.com/python/cpython/pull/117562/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:realpath-all-but-lasthttps://github.com/serhiy-storchaka/cpython/tree/realpath-all-but-last
Conversation 9 https://github.com/python/cpython/pull/117562
Commits 19 https://github.com/python/cpython/pull/117562/commits
Checks 0 https://github.com/python/cpython/pull/117562/checks
Files changed https://github.com/python/cpython/pull/117562/files
Please reload this pagehttps://github.com/python/cpython/pull/117562/files
gh-71189: Support all-but-last mode in os.path.realpath() https://github.com/python/cpython/pull/117562/files#top
Show all changes 19 commits https://github.com/python/cpython/pull/117562/files
e8c859c gh-71189: Support all-but-last mode in posixpath.realpath() serhiy-storchaka Apr 5, 2024 https://github.com/python/cpython/pull/117562/commits/e8c859c188042664c2c5a29b8013220319f6591b
38c6198 Merge branch 'main' into realpath-all-but-last serhiy-storchaka May 19, 2025 https://github.com/python/cpython/pull/117562/commits/38c6198570cdc6a10782200a915cb8c03f1bddd3
b76a1c5 Implement ALL_BUT_LAST on Windows. serhiy-storchaka May 19, 2025 https://github.com/python/cpython/pull/117562/commits/b76a1c5f349ef56190e54ba97801914ee46d3b71
0e2484a Merge branch 'main' into realpath-all-but-last serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/0e2484aa0380ae42e800a761dfc7815bd898f62c
d93263f Unindent tests. serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/d93263ff4001c93ddb22647c3ad0cc705eb1b1b7
621f476 Uncomment file on Windows. serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/621f476a9d24c7faaded35ac2122fe14ed3c7131
db9e13b Documentation. serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/db9e13b49b100c955c2e96db11cb7e407afd495e
b67acdb Improve ALL_BUT_LAST. serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/b67acdbacfd064740b62868b441dfb73938ccd93
63f6c0c Add more tests. serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/63f6c0c151fd01d34b5dcc1417effda8e661f810
9e1a88f Merge branch 'main' into realpath-all-but-last serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/9e1a88fb6367d1b265ce9fb5c0bade4ff98da7ec
4619540 Fix tests on WASI. serhiy-storchaka May 20, 2025 https://github.com/python/cpython/pull/117562/commits/4619540220ec7a63f8eb1f513f407820a3356de1
91338d6 Merge branch 'main' into realpath-all-but-last serhiy-storchaka Jun 3, 2025 https://github.com/python/cpython/pull/117562/commits/91338d67d03c8432c53c37279bceca81300516b2
c03cf4b Add more tests. serhiy-storchaka Jun 3, 2025 https://github.com/python/cpython/pull/117562/commits/c03cf4b3dd165e3be333837e5a79f1bab08af29e
e142390 Fix tests on Windows and add more tests. serhiy-storchaka Jun 3, 2025 https://github.com/python/cpython/pull/117562/commits/e142390e7e8789038940616dabbaef847679892d
f5c964a Merge branch 'main' into realpath-all-but-last serhiy-storchaka Jun 6, 2025 https://github.com/python/cpython/pull/117562/commits/f5c964a649058581d52814dfa6a7318e9921c61c
3b904c1 Make tests more compact. serhiy-storchaka Jun 6, 2025 https://github.com/python/cpython/pull/117562/commits/3b904c1d89fe5f388dd84a0037eefb43cdc0f413
436e458 Merge branch 'main' into realpath-all-but-last serhiy-storchaka Jul 2, 2025 https://github.com/python/cpython/pull/117562/commits/436e458abdd5cd3f19e0832e5026cf7f3af21b97
329b633 Apply suggestions from code review serhiy-storchaka Jul 29, 2025 https://github.com/python/cpython/pull/117562/commits/329b6334a9559b433419680dbff789a1009f6259
6412541 Merge branch 'main' into realpath-all-but-last serhiy-storchaka Jul 29, 2025 https://github.com/python/cpython/pull/117562/commits/64125419334bf37af2d53928c1e893eab0957a7b
Clear filters https://github.com/python/cpython/pull/117562/files
Please reload this pagehttps://github.com/python/cpython/pull/117562/files
Please reload this pagehttps://github.com/python/cpython/pull/117562/files
os.path.rst https://github.com/python/cpython/pull/117562/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
3.15.rst https://github.com/python/cpython/pull/117562/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
genericpath.py https://github.com/python/cpython/pull/117562/files#diff-3fcc4a0ad0cfe1e94de59c31363aaed80a1069c3c11355ac882cad0501df7552
ntpath.py https://github.com/python/cpython/pull/117562/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
posixpath.py https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
test_genericpath.py https://github.com/python/cpython/pull/117562/files#diff-daabfa1f7a578479d9ba61864808dca470581ecbae838c850734a033f851b2fb
test_ntpath.py https://github.com/python/cpython/pull/117562/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea
test_posixpath.py https://github.com/python/cpython/pull/117562/files#diff-2ba0be153d12a4810bc4d509c97d4c244a9f4fd754c1b47d8d7a991238467595
2025-05-20-11-51-17.gh-issue-71189.0LpTB1.rst https://github.com/python/cpython/pull/117562/files#diff-69a3427a343726f9494a0b697cb318e638b87adf39873d71c19281edf18724d0
Doc/library/os.path.rsthttps://github.com/python/cpython/pull/117562/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
View file https://github.com/serhiy-storchaka/cpython/blob/64125419334bf37af2d53928c1e893eab0957a7b/Doc/library/os.path.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117562/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117562/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
https://github.com/python/cpython/pull/117562/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
https://github.com/python/cpython/pull/117562/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/117562/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
View file https://github.com/serhiy-storchaka/cpython/blob/64125419334bf37af2d53928c1e893eab0957a7b/Doc/whatsnew/3.15.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117562/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117562/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
https://github.com/python/cpython/pull/117562/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Lib/genericpath.pyhttps://github.com/python/cpython/pull/117562/files#diff-3fcc4a0ad0cfe1e94de59c31363aaed80a1069c3c11355ac882cad0501df7552
View file https://github.com/serhiy-storchaka/cpython/blob/64125419334bf37af2d53928c1e893eab0957a7b/Lib/genericpath.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117562/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117562/files#diff-3fcc4a0ad0cfe1e94de59c31363aaed80a1069c3c11355ac882cad0501df7552
https://github.com/python/cpython/pull/117562/files#diff-3fcc4a0ad0cfe1e94de59c31363aaed80a1069c3c11355ac882cad0501df7552
https://github.com/python/cpython/pull/117562/files#diff-3fcc4a0ad0cfe1e94de59c31363aaed80a1069c3c11355ac882cad0501df7552
https://github.com/python/cpython/pull/117562/files#diff-3fcc4a0ad0cfe1e94de59c31363aaed80a1069c3c11355ac882cad0501df7552
Lib/ntpath.pyhttps://github.com/python/cpython/pull/117562/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
View file https://github.com/serhiy-storchaka/cpython/blob/64125419334bf37af2d53928c1e893eab0957a7b/Lib/ntpath.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117562/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117562/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/117562/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/117562/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/117562/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/117562/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
Lib/posixpath.pyhttps://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
View file https://github.com/serhiy-storchaka/cpython/blob/64125419334bf37af2d53928c1e893eab0957a7b/Lib/posixpath.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117562/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
https://github.com/python/cpython/pull/117562/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
Lib/test/test_genericpath.pyhttps://github.com/python/cpython/pull/117562/files#diff-daabfa1f7a578479d9ba61864808dca470581ecbae838c850734a033f851b2fb
View file https://github.com/serhiy-storchaka/cpython/blob/64125419334bf37af2d53928c1e893eab0957a7b/Lib/test/test_genericpath.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/117562/{{ revealButtonHref }}
https://github.com/python/cpython/pull/117562/files#diff-daabfa1f7a578479d9ba61864808dca470581ecbae838c850734a033f851b2fb
https://github.com/python/cpython/pull/117562/files#diff-daabfa1f7a578479d9ba61864808dca470581ecbae838c850734a033f851b2fb
https://github.com/python/cpython/pull/117562/files#diff-daabfa1f7a578479d9ba61864808dca470581ecbae838c850734a033f851b2fb
https://github.com/python/cpython/pull/117562/files#diff-daabfa1f7a578479d9ba61864808dca470581ecbae838c850734a033f851b2fb
Please reload this pagehttps://github.com/python/cpython/pull/117562/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.