René's URL Explorer Experiment


Title: bpo-43757: make pathlib use os.path.realpath() to resolve all symlinks in a path by barneygale · Pull Request #25264 · python/cpython · GitHub

Open Graph Title: bpo-43757: make pathlib use os.path.realpath() to resolve all symlinks in a path by barneygale · Pull Request #25264 · python/cpython

X Title: bpo-43757: make pathlib use os.path.realpath() to resolve all symlinks in a path by barneygale · Pull Request #25264 · python/cpython

Description: Removes a pathlib-specific implementation of realpath() that's mostly copied from ntpath and posixpath. https://bugs.python.org/issue43757

Open Graph Description: Removes a pathlib-specific implementation of realpath() that's mostly copied from ntpath and posixpath. https://bugs.python.org/issue43757

X Description: Removes a pathlib-specific implementation of realpath() that's mostly copied from ntpath and posixpath. https://bugs.python.org/issue43757

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

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:7de8f174-cc7e-3137-2ed2-3f29c4db9f4a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD822:250A02:162EAEF:1DA3516:6969A619
html-safe-nonce4648ef5f5472fba91fd2f1bf5d8da723f522f38ed1a749d63c553163de585d0f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODIyOjI1MEEwMjoxNjJFQUVGOjFEQTM1MTY6Njk2OUE2MTkiLCJ2aXNpdG9yX2lkIjoiNzY0MDY4Nzk4MDMwMDU3NjI4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac15ba645c06eea976d79a659a8e959126e288898735ffdc8cbb7e265edc61c14f
hovercard-subject-tagpull_request:611045838
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/25264/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0510868b25a2e859e2b0552510fc0a1f8c995f4e151c714f2f7e8922bb44aede/python/cpython/pull/25264
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0510868b25a2e859e2b0552510fc0a1f8c995f4e151c714f2f7e8922bb44aede/python/cpython/pull/25264
og:image:altRemoves a pathlib-specific implementation of realpath() that's mostly copied from ntpath and posixpath. https://bugs.python.org/issue43757
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/25264#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25264
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F25264
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/25264
Reloadhttps://github.com/python/cpython/pull/25264
Reloadhttps://github.com/python/cpython/pull/25264
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/25264
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 pagehttps://github.com/python/cpython/pull/25264
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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/25264#issue-comment-box
zoobahttps://github.com/zooba
python:masterhttps://github.com/python/cpython/tree/master
barneygale:bpo-43757-accessor-resolvehttps://github.com/barneygale/cpython/tree/bpo-43757-accessor-resolve
bpo-43757: make pathlib use os.path.realpath() to resolve all symlinks in a path https://github.com/python/cpython/pull/25264#top
zoobahttps://github.com/zooba
python:masterhttps://github.com/python/cpython/tree/master
barneygale:bpo-43757-accessor-resolvehttps://github.com/barneygale/cpython/tree/bpo-43757-accessor-resolve
Conversation 35 https://github.com/python/cpython/pull/25264
Commits 23 https://github.com/python/cpython/pull/25264/commits
Checks 1 https://github.com/python/cpython/pull/25264/checks
Files changed https://github.com/python/cpython/pull/25264/files
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 7, 2021https://github.com/python/cpython/pull/25264#issue-852856740
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://bugs.python.org/issue43757https://bugs.python.org/issue43757
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Apr 7, 2021https://github.com/python/cpython/pull/25264#event-4565207320
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
Apr 7, 2021https://github.com/python/cpython/pull/25264#event-4565207411
https://github.com/barneygale
barneygalehttps://github.com/barneygale
April 7, 2021 22:07https://github.com/python/cpython/pull/25264#event-4565228546
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Apr 7, 2021 https://github.com/python/cpython/pull/25264#pullrequestreview-630692662
View reviewed changes https://github.com/python/cpython/pull/25264/files
Lib/pathlib.pyhttps://github.com/python/cpython/pull/25264/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
force-pushedhttps://github.com/python/cpython/compare/46b35c655ec6ce7f78a41b036b78dd8e32a14cfb..2bb4dd4ad340826d284132bfa9184d3d818be42d
46b35c6https://github.com/python/cpython/commit/46b35c655ec6ce7f78a41b036b78dd8e32a14cfb
2bb4dd4https://github.com/python/cpython/commit/2bb4dd4ad340826d284132bfa9184d3d818be42d
Compare https://github.com/python/cpython/compare/46b35c655ec6ce7f78a41b036b78dd8e32a14cfb..2bb4dd4ad340826d284132bfa9184d3d818be42d
April 7, 2021 22:18https://github.com/python/cpython/pull/25264#event-4565270019
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 8, 2021https://github.com/python/cpython/pull/25264#issuecomment-815370173
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Apr 8, 2021https://github.com/python/cpython/pull/25264#issuecomment-815382730
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
force-pushedhttps://github.com/python/cpython/compare/b6ca43091b5769341c52b1e5a83d10c1bc98b3ea..984a6fccb3ecc21e809177b365ae15e13b6904de
b6ca430https://github.com/python/cpython/commit/b6ca43091b5769341c52b1e5a83d10c1bc98b3ea
984a6fchttps://github.com/python/cpython/commit/984a6fccb3ecc21e809177b365ae15e13b6904de
Compare https://github.com/python/cpython/compare/b6ca43091b5769341c52b1e5a83d10c1bc98b3ea..984a6fccb3ecc21e809177b365ae15e13b6904de
April 8, 2021 01:59https://github.com/python/cpython/pull/25264#event-4565916721
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 8, 2021https://github.com/python/cpython/pull/25264#issuecomment-815390502
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 8, 2021https://github.com/python/cpython/pull/25264#issuecomment-815394386
Please reload this pagehttps://github.com/python/cpython/pull/25264
bpo-930024https://bugs.python.org/issue930024
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Apr 8, 2021 https://github.com/python/cpython/pull/25264#pullrequestreview-630927188
View reviewed changes https://github.com/python/cpython/pull/25264/files
Lib/pathlib.pyhttps://github.com/python/cpython/pull/25264/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 8, 2021https://github.com/python/cpython/pull/25264#issuecomment-816106994
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 8, 2021 https://github.com/python/cpython/pull/25264#pullrequestreview-631787754
View reviewed changes https://github.com/python/cpython/pull/25264/files
Lib/test/test_ntpath.pyhttps://github.com/python/cpython/pull/25264/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
April 8, 2021 20:39https://github.com/python/cpython/pull/25264#event-4570985939
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 8, 2021https://github.com/python/cpython/pull/25264#event-4570986632
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Apr 8, 2021https://github.com/python/cpython/pull/25264#issuecomment-816281966
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/zooba
zoobahttps://github.com/zooba
Apr 9, 2021 https://github.com/python/cpython/pull/25264#pullrequestreview-632783207
View reviewed changes https://github.com/python/cpython/pull/25264/files
zoobahttps://github.com/zooba
https://github.com/python/cpython/pull/25264#pullrequestreview-632783207
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/25264
Doc/library/os.path.rsthttps://github.com/python/cpython/pull/25264/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
Please reload this pagehttps://github.com/python/cpython/pull/25264
Lib/test/test_ntpath.pyhttps://github.com/python/cpython/pull/25264/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea
Please reload this pagehttps://github.com/python/cpython/pull/25264
Misc/NEWS.d/next/Library/2021-04-08-22-11-27.bpo-25264.hEqA5d.rsthttps://github.com/python/cpython/pull/25264/files#diff-83a163293f07105cf26dd1c68e5c7bfb4be99dbd3208d01d66c8b72d3bcb64dd
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 9, 2021https://github.com/python/cpython/pull/25264#issuecomment-817025436
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Apr 10, 2021 https://github.com/python/cpython/pull/25264#pullrequestreview-632912412
View reviewed changes https://github.com/python/cpython/pull/25264/files
Lib/ntpath.pyhttps://github.com/python/cpython/pull/25264/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/zooba
zoobahttps://github.com/zooba
Apr 12, 2021https://github.com/python/cpython/pull/25264#issuecomment-817912477
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 12, 2021https://github.com/python/cpython/pull/25264#issuecomment-818290572
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 12, 2021https://github.com/python/cpython/pull/25264#issuecomment-818299555
Please reload this pagehttps://github.com/python/cpython/pull/25264
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 13, 2021https://github.com/python/cpython/pull/25264#issuecomment-818368150
Please reload this pagehttps://github.com/python/cpython/pull/25264
Please reload this pagehttps://github.com/python/cpython/pull/25264
barneygalehttps://github.com/barneygale
April 24, 2021 22:10https://github.com/python/cpython/pull/25264#commits-pushed-164dbfd
https://github.com/barneygale
bpo-43757: make pathlib use os.path.realpath() to resolve all symlink…https://github.com/python/cpython/pull/25264/commits/164dbfd3f3a484eb32eabb60d893ae19714043ce
164dbfdhttps://github.com/python/cpython/pull/25264/commits/164dbfd3f3a484eb32eabb60d893ae19714043ce
https://github.com/barneygale
Adjust os.path.realpath to match pathlib.Path.resolve() behaviour…https://github.com/python/cpython/pull/25264/commits/2894e0a21a84e00b2959ca42f0e109a61fdfad2d
2894e0ahttps://github.com/python/cpython/pull/25264/commits/2894e0a21a84e00b2959ca42f0e109a61fdfad2d
https://github.com/barneygale
Call os.stat() to raise OSError(errno.ELOOP, ...).https://github.com/python/cpython/pull/25264/commits/495bd8b483a91d6f2a0969de179b7d5ec6770ac3
495bd8bhttps://github.com/python/cpython/pull/25264/commits/495bd8b483a91d6f2a0969de179b7d5ec6770ac3
https://github.com/barneygale
Remove unused importhttps://github.com/python/cpython/pull/25264/commits/492c66ba004be9814e61fc3f180e5bb6d8f0f018
492c66bhttps://github.com/python/cpython/pull/25264/commits/492c66ba004be9814e61fc3f180e5bb6d8f0f018
https://github.com/barneygale
Stop ignoring ERROR_CANT_RESOLVE_FILENAME error in _getfinalpathname_…https://github.com/python/cpython/pull/25264/commits/c8bac15402acdc9fbd6034b37d11642c86840bdf
c8bac15https://github.com/python/cpython/pull/25264/commits/c8bac15402acdc9fbd6034b37d11642c86840bdf
https://github.com/barneygale
Fix symlink detection and posixpath tests.https://github.com/python/cpython/pull/25264/commits/fe69688bceb22644195a69394306dc93ff39576a
fe69688https://github.com/python/cpython/pull/25264/commits/fe69688bceb22644195a69394306dc93ff39576a
https://github.com/barneygale
Raise RuntimeError in Path.resolve() if realpath() raises ERROR_CANT_…https://github.com/python/cpython/pull/25264/commits/4114be91f6f0c5db26749807d223bdbb7a40536b
4114be9https://github.com/python/cpython/pull/25264/commits/4114be91f6f0c5db26749807d223bdbb7a40536b
barneygalehttps://github.com/barneygale
April 24, 2021 22:12https://github.com/python/cpython/pull/25264#commits-pushed-9fa60eb
https://github.com/barneygale
Add some notes on OS differenceshttps://github.com/python/cpython/pull/25264/commits/9fa60eb9ec059e164eda1e3010f87d39627a5eaa
9fa60ebhttps://github.com/python/cpython/pull/25264/commits/9fa60eb9ec059e164eda1e3010f87d39627a5eaa
https://github.com/barneygale
Split NEWShttps://github.com/python/cpython/pull/25264/commits/f979947a207015bdb87dfdc5f3f1fa316daca66b
f979947https://github.com/python/cpython/pull/25264/commits/f979947a207015bdb87dfdc5f3f1fa316daca66b
https://github.com/barneygale
Do not suppress initial ERROR_CANT_RESOLVE_FILENAME error in non-stri…https://github.com/python/cpython/pull/25264/commits/a82bc185699ea1550fd9588ab668ad7674a25544
a82bc18https://github.com/python/cpython/pull/25264/commits/a82bc185699ea1550fd9588ab668ad7674a25544
https://github.com/barneygale
realpath(): only raise OSError for symlink loops in strict modehttps://github.com/python/cpython/pull/25264/commits/86c318c61c8b9eb29e6f609af46fe25dcfd3ea61
86c318chttps://github.com/python/cpython/pull/25264/commits/86c318c61c8b9eb29e6f609af46fe25dcfd3ea61
https://github.com/barneygale
Fix test_ntpath (pass 1)https://github.com/python/cpython/pull/25264/commits/7362f7e8fa68924321d76456ec4210083acab0a1
7362f7ehttps://github.com/python/cpython/pull/25264/commits/7362f7e8fa68924321d76456ec4210083acab0a1
https://github.com/barneygale
Fix test_ntpath (pass 2)https://github.com/python/cpython/pull/25264/commits/72147c5d1955e21c8dba99c22ab8470b993917d7
72147c5https://github.com/python/cpython/pull/25264/commits/72147c5d1955e21c8dba99c22ab8470b993917d7
https://github.com/barneygale
Split up exception handling in resolve() for greater clarity.https://github.com/python/cpython/pull/25264/commits/df04357fafe104d9114a245c24dbea92b2b5e60b
df04357https://github.com/python/cpython/pull/25264/commits/df04357fafe104d9114a245c24dbea92b2b5e60b
https://github.com/barneygale
barneygalehttps://github.com/barneygale
force-pushedhttps://github.com/python/cpython/compare/8ee02f2fb7d73e73c31c15b8737dea233ebfd020..df04357fafe104d9114a245c24dbea92b2b5e60b
8ee02f2https://github.com/python/cpython/commit/8ee02f2fb7d73e73c31c15b8737dea233ebfd020
df04357https://github.com/python/cpython/commit/df04357fafe104d9114a245c24dbea92b2b5e60b
Compare https://github.com/python/cpython/compare/8ee02f2fb7d73e73c31c15b8737dea233ebfd020..df04357fafe104d9114a245c24dbea92b2b5e60b
April 24, 2021 21:15https://github.com/python/cpython/pull/25264#event-4640378606
https://github.com/zooba
zoobahttps://github.com/zooba
Apr 26, 2021 https://github.com/python/cpython/pull/25264#pullrequestreview-644986663
View reviewed changes https://github.com/python/cpython/pull/25264/files/df04357fafe104d9114a245c24dbea92b2b5e60b
zoobahttps://github.com/zooba
https://github.com/python/cpython/pull/25264#pullrequestreview-644986663
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Apr 26, 2021https://github.com/python/cpython/pull/25264#event-4646599485
https://github.com/zooba
zoobahttps://github.com/zooba
Apr 28, 2021https://github.com/python/cpython/pull/25264#issuecomment-828565992
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/zooba
zoobahttps://github.com/zooba
baecfbdhttps://github.com/python/cpython/commit/baecfbd849dbf42360d3a84af6cc13160838f24d
Apr 28, 2021https://github.com/python/cpython/pull/25264#event-4657776562
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 28, 2021https://github.com/python/cpython/pull/25264#event-4657776859
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 28, 2021https://github.com/python/cpython/pull/25264#issuecomment-828591301
Please reload this pagehttps://github.com/python/cpython/pull/25264
kfollstadhttps://github.com/kfollstad
May 6, 2021 https://github.com/python/cpython/pull/25264#ref-commit-1e37e3b
https://github.com/kfollstad
bpo-38671: Add regression tests for Path.resolve in pathlibhttps://github.com/kfollstad/cpython/commit/1e37e3b19f689b769fecbbc554cf78ff7ec431e3
1e37e3bhttps://github.com/kfollstad/cpython/commit/1e37e3b19f689b769fecbbc554cf78ff7ec431e3
pythonGH-25264https://github.com/python/cpython/pull/25264
bpo-44136: remove pathlib._Flavour #26141 https://github.com/python/cpython/pull/26141
bpo-38671: Add test that pathlib.Path.resolve() returns an absolute path. #26184 https://github.com/python/cpython/pull/26184
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jul 23, 2022 https://github.com/python/cpython/pull/25264#ref-issue-1199054301
pathlib mistakenly assumes os.getcwd() is a resolved path in Windows #87621 https://github.com/python/cpython/issues/87621
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Sep 9, 2023 https://github.com/python/cpython/pull/25264#ref-issue-1888784045
pathlib.Path.resolve() mishandles symlink loops #109187 https://github.com/python/cpython/issues/109187
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Sep 23, 2023 https://github.com/python/cpython/pull/25264#ref-pullrequest-1888801498
GH-109187: Improve symlink loop handling in pathlib.Path.resolve() #109192 https://github.com/python/cpython/pull/109192
pathlib's Path("NUL:").resolve() throws an error on windows #85708 https://github.com/python/cpython/issues/85708
test_pathlib fails if current path has junctions #76447 https://github.com/python/cpython/issues/76447
ambvhttps://github.com/ambv
Jun 2, 2025 https://github.com/python/cpython/pull/25264#ref-commit-ea5a779
https://github.com/barneygale
https://github.com/ambv
bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in…https://github.com/ambv/cpython/commit/ea5a779c55cb1670af5d415ad55b2152d5c91cc1
ea5a779https://github.com/ambv/cpython/commit/ea5a779c55cb1670af5d415ad55b2152d5c91cc1
pythonGH-25264https://github.com/python/cpython/pull/25264
ambvhttps://github.com/ambv
Jun 2, 2025 https://github.com/python/cpython/pull/25264#ref-commit-e75dcbe
https://github.com/barneygale
https://github.com/ambv
bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in…https://github.com/ambv/cpython/commit/e75dcbe7f34adad1bc40ffdff366bdbf9876d944
e75dcbehttps://github.com/ambv/cpython/commit/e75dcbe7f34adad1bc40ffdff366bdbf9876d944
pythonGH-25264https://github.com/python/cpython/pull/25264
ambvhttps://github.com/ambv
Jun 2, 2025 https://github.com/python/cpython/pull/25264#ref-commit-dea79fe
https://github.com/barneygale
https://github.com/ambv
bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in…https://github.com/ambv/cpython/commit/dea79fe9bed6563fbc4c4c7f228c1183fdc3062a
dea79fehttps://github.com/ambv/cpython/commit/dea79fe9bed6563fbc4c4c7f228c1183fdc3062a
pythonGH-25264https://github.com/python/cpython/pull/25264
baecfbdhttps://github.com/ambv/cpython/commit/baecfbd849dbf42360d3a84af6cc13160838f24d
ambvhttps://github.com/ambv
Jun 2, 2025 https://github.com/python/cpython/pull/25264#ref-commit-2a1339d
https://github.com/barneygale
https://github.com/ambv
[3.9] bpo-43757: Make pathlib use os.path.realpath() to resolve symli…https://github.com/ambv/cpython/commit/2a1339d12f880756047fa9e33e2047fac14d89c8
2a1339dhttps://github.com/ambv/cpython/commit/2a1339d12f880756047fa9e33e2047fac14d89c8
pythonGH-25264https://github.com/python/cpython/pull/25264
baecfbdhttps://github.com/ambv/cpython/commit/baecfbd849dbf42360d3a84af6cc13160838f24d
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 2, 2025https://github.com/python/cpython/pull/25264#issuecomment-2931394782
GH-135035https://github.com/python/cpython/pull/135035
3.9 branchhttps://github.com/python/cpython/tree/3.9
Please reload this pagehttps://github.com/python/cpython/pull/25264
ambvhttps://github.com/ambv
Jun 2, 2025 https://github.com/python/cpython/pull/25264#ref-commit-00af979
https://github.com/ambv
https://github.com/barneygale
[3.9]https://github.com/python/cpython/commit/00af9794dd118f7b835dd844b2b609a503ad951e
bpo-43757https://bugs.python.org/issue?@action=redirect&bpo=43757
: Make pathlib use os.path.realpath() to resolve symli…https://github.com/python/cpython/commit/00af9794dd118f7b835dd844b2b609a503ad951e
00af979https://github.com/python/cpython/commit/00af9794dd118f7b835dd844b2b609a503ad951e
GH-25264https://github.com/python/cpython/pull/25264
GH-135035https://github.com/python/cpython/pull/135035
baecfbdhttps://github.com/python/cpython/commit/baecfbd849dbf42360d3a84af6cc13160838f24d
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%2F25264
https://github.com/eryksun
eryksun https://github.com/eryksun
https://github.com/python/cpython/pull/25264/files/a34454c46ca4350decf820e7c553f6c342c15b07
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/25264/files/df04357fafe104d9114a245c24dbea92b2b5e60b
Please reload this pagehttps://github.com/python/cpython/pull/25264
https://github.com/barneygale
https://github.com/eryksun
https://github.com/zooba
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.