| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:695f3894-3b3f-4cd2-94cb-16a6875316e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A886:ADA9D:40F0B97:532EBED:6B021964 |
| html-safe-nonce | f17333852d12123267d79f952534ac66d45c67987fbb1e69661710c6da0ecf69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODg2OkFEQTlEOjQwRjBCOTc6NTMyRUJFRDo2QjAyMTk2NCIsInZpc2l0b3JfaWQiOiI5MDQ0ODcyOTc4Nzg0OTgzMzk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ed7c9dfd4d965fccc98ccfe08d4b20352a0bd313a47a618b2e79df727c646ee4 |
| hovercard-subject-tag | pull_request:1808987033 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/117562/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | Issue: gh-71189 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/117562/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117562%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117562%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 |
| Reload | https://github.com/python/cpython/pull/117562/files |
| Reload | https://github.com/python/cpython/pull/117562/files |
| Reload | https://github.com/python/cpython/pull/117562/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| 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 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| serhiy-storchaka:realpath-all-but-last | https://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 page | https://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 page | https://github.com/python/cpython/pull/117562/files |
| Please reload this page | https://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.rst | https://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.rst | https://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.py | https://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.py | https://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.py | https://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.py | https://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 page | https://github.com/python/cpython/pull/117562/files |
|
| 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 |