René's URL Explorer Experiment


Title: GH-80486: Fix handling of NTFS alternate data streams in pathlib by barneygale · Pull Request #102454 · python/cpython · GitHub

Open Graph Title: GH-80486: Fix handling of NTFS alternate data streams in pathlib by barneygale · Pull Request #102454 · python/cpython

X Title: GH-80486: Fix handling of NTFS alternate data streams in pathlib by barneygale · Pull Request #102454 · python/cpython

Description: This fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a f...

Open Graph Description: This fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a f...

X Description: This fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a f...

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

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:0e8cfe8a-c7ab-9e02-332d-5a6ef963be5a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC84E:A39F5:1DA1618:285B648:696ABFD2
html-safe-nonced07c6d4a8507c7ca18d67ed8e30075a04579b1fea3931019af575008c4ad9a08
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODRFOkEzOUY1OjFEQTE2MTg6Mjg1QjY0ODo2OTZBQkZEMiIsInZpc2l0b3JfaWQiOiIxODA5NzYwMjQzNzUxMjM5NjM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac18ab3ac35132cb57748a6e1abd2bcafb046b8e68d316b4a73a9916cd675d9307
hovercard-subject-tagpull_request:1263623089
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/102454/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/73053c63b2adc9e72c51b0e2ca5c54c8d3a0f70c2b4bf1e40364176f793d5816/python/cpython/pull/102454
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/73053c63b2adc9e72c51b0e2ca5c54c8d3a0f70c2b4bf1e40364176f793d5816/python/cpython/pull/102454
og:image:altThis fixes round-tripping of Windows paths like ./c:a in pathlib. Previously, pathlib removed the ./ prefix when generating a string representation of such paths. This changed the meaning, from a f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b
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
release30300f30bb3949de255e84a146706a3bdb5c19c9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/102454#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102454
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%2F102454
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/102454
Reloadhttps://github.com/python/cpython/pull/102454
Reloadhttps://github.com/python/cpython/pull/102454
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/102454
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/102454
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/102454#issue-comment-box
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-80486-ntfs-alt-stream-pathhttps://github.com/barneygale/cpython/tree/gh-80486-ntfs-alt-stream-path
GH-80486: Fix handling of NTFS alternate data streams in pathlib https://github.com/python/cpython/pull/102454#top
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-80486-ntfs-alt-stream-pathhttps://github.com/barneygale/cpython/tree/gh-80486-ntfs-alt-stream-path
Conversation 20 https://github.com/python/cpython/pull/102454
Commits 12 https://github.com/python/cpython/pull/102454/commits
Checks 0 https://github.com/python/cpython/pull/102454/checks
Files changed https://github.com/python/cpython/pull/102454/files
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 6, 2023https://github.com/python/cpython/pull/102454#issue-1610455456
Please reload this pagehttps://github.com/python/cpython/pull/102454
@kmaorkhttps://github.com/kmaork
Inconsistent behavior of pathlib.WindowsPath with drive paths #80486https://github.com/python/cpython/issues/80486
Please reload this pagehttps://github.com/python/cpython/pull/102454
kmaorkhttps://github.com/kmaork
June 14, 2019 00:36https://github.com/python/cpython/pull/102454#commits-pushed-15aadf9
https://github.com/kmaork
Fixed bugs with drive-relative paths and NTFS ADS paths in pathlibhttps://github.com/python/cpython/pull/102454/commits/15aadf9b0e4551c157c04ae60592c84e4caae01d
15aadf9https://github.com/python/cpython/pull/102454/commits/15aadf9b0e4551c157c04ae60592c84e4caae01d
https://github.com/kmaork
Merge branch 'master' into fix-issue-36305https://github.com/python/cpython/pull/102454/commits/c827f982c328731129dcb033d1e21e800d6f8488
c827f98https://github.com/python/cpython/pull/102454/commits/c827f982c328731129dcb033d1e21e800d6f8488
https://github.com/kmaork
Merge branch 'master' into fix-issue-36305https://github.com/python/cpython/pull/102454/commits/64fc34274ff891042963ebce19106620a86ba410
64fc342https://github.com/python/cpython/pull/102454/commits/64fc34274ff891042963ebce19106620a86ba410
https://github.com/barneygale
Undo pathlib changeshttps://github.com/python/cpython/pull/102454/commits/86c04080887c1a557e37e011265413057697d313
86c0408https://github.com/python/cpython/pull/102454/commits/86c04080887c1a557e37e011265413057697d313
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/102454/commits/c08602b993f2b6ca8752054e32a6f7b7aa7479a8
pythongh-80486https://github.com/python/cpython/issues/80486
-ntfs-alt-stream-pathhttps://github.com/python/cpython/pull/102454/commits/c08602b993f2b6ca8752054e32a6f7b7aa7479a8
c08602bhttps://github.com/python/cpython/pull/102454/commits/c08602b993f2b6ca8752054e32a6f7b7aa7479a8
https://github.com/barneygale
Remove a couple of incorrect test caseshttps://github.com/python/cpython/pull/102454/commits/cb9ce9df40d25ee6c2220de9d4ca008b5f126d88
cb9ce9dhttps://github.com/python/cpython/pull/102454/commits/cb9ce9df40d25ee6c2220de9d4ca008b5f126d88
https://github.com/barneygale
Fix _format_parsed_parts()https://github.com/python/cpython/pull/102454/commits/fe5cfb3c4bd04f2375742bc9d84933a902e2c732
fe5cfb3https://github.com/python/cpython/pull/102454/commits/fe5cfb3c4bd04f2375742bc9d84933a902e2c732
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 6, 2023 https://github.com/python/cpython/pull/102454#ref-issue-1199007897
Inconsistent behavior of pathlib.WindowsPath with drive paths #80486 https://github.com/python/cpython/issues/80486
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
Mar 6, 2023https://github.com/python/cpython/pull/102454#event-8669003065
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 6, 2023https://github.com/python/cpython/pull/102454#event-8669003085
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 6, 2023https://github.com/python/cpython/pull/102454#issuecomment-1455261475
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/barneygale
barneygalehttps://github.com/barneygale
OS-windows https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AOS-windows
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Mar 6, 2023https://github.com/python/cpython/pull/102454#event-8669011512
barneygalehttps://github.com/barneygale
March 6, 2023 00:28https://github.com/python/cpython/pull/102454#commits-pushed-bc225f5
https://github.com/barneygale
Restore deleted test case.https://github.com/python/cpython/pull/102454/commits/bc225f572eb1c8b4099f62081b92ca08d262848d
bc225f5https://github.com/python/cpython/pull/102454/commits/bc225f572eb1c8b4099f62081b92ca08d262848d
https://github.com/barneygale
Fix expanduser()https://github.com/python/cpython/pull/102454/commits/9aa40770de83f7fa78197da9fb46dc7318fab9b1
9aa4077https://github.com/python/cpython/pull/102454/commits/9aa40770de83f7fa78197da9fb46dc7318fab9b1
https://github.com/zooba
zoobahttps://github.com/zooba
Mar 6, 2023 https://github.com/python/cpython/pull/102454#pullrequestreview-1326565554
View reviewed changes https://github.com/python/cpython/pull/102454/files/9aa40770de83f7fa78197da9fb46dc7318fab9b1
Lib/pathlib.pyhttps://github.com/python/cpython/pull/102454/files/9aa40770de83f7fa78197da9fb46dc7318fab9b1#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Please reload this pagehttps://github.com/python/cpython/pull/102454
barneygalehttps://github.com/barneygale
March 6, 2023 16:40https://github.com/python/cpython/pull/102454#commits-pushed-0be2dc4
https://github.com/barneygale
Use _from_parsed_parts() in expanduser()https://github.com/python/cpython/pull/102454/commits/0be2dc417866786891dffb503112cd1a11877c34
0be2dc4https://github.com/python/cpython/pull/102454/commits/0be2dc417866786891dffb503112cd1a11877c34
https://github.com/barneygale
Improve news blurb.https://github.com/python/cpython/pull/102454/commits/8386140eeef31d2902879308fc6a2a05beb9cd0a
8386140https://github.com/python/cpython/pull/102454/commits/8386140eeef31d2902879308fc6a2a05beb9cd0a
https://github.com/barneygale
Remove test case affected byhttps://github.com/python/cpython/pull/102454/commits/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7
pythonGH-102475https://github.com/python/cpython/issues/102475
.https://github.com/python/cpython/pull/102454/commits/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7
e6f11d4https://github.com/python/cpython/pull/102454/commits/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7
https://github.com/zooba
zoobahttps://github.com/zooba
Mar 6, 2023 https://github.com/python/cpython/pull/102454#pullrequestreview-1327284683
View reviewed changes https://github.com/python/cpython/pull/102454/files/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7
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
Mar 6, 2023https://github.com/python/cpython/pull/102454#event-8679407900
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Mar 6, 2023 https://github.com/python/cpython/pull/102454#pullrequestreview-1327337016
View reviewed changes https://github.com/python/cpython/pull/102454/files/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7
Lib/pathlib.pyhttps://github.com/python/cpython/pull/102454/files/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 7, 2023 https://github.com/python/cpython/pull/102454#ref-issue-1614148854
Add C implementation of os.path.splitroot() #102511 https://github.com/python/cpython/issues/102511
https://github.com/zooba
zoobahttps://github.com/zooba
Mar 10, 2023https://github.com/python/cpython/pull/102454#issuecomment-1463950530
#102511https://github.com/python/cpython/issues/102511
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 10, 2023https://github.com/python/cpython/pull/102454#issuecomment-1463996128
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/zooba
zoobahttps://github.com/zooba
Mar 10, 2023https://github.com/python/cpython/pull/102454#issuecomment-1464131177
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 10, 2023https://github.com/python/cpython/pull/102454#issuecomment-1464132847
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/zooba
zoobahttps://github.com/zooba
Mar 10, 2023https://github.com/python/cpython/pull/102454#issuecomment-1464133407
Please reload this pagehttps://github.com/python/cpython/pull/102454
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 10, 2023https://github.com/python/cpython/pull/102454#issuecomment-1464133553
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/zooba
zoobahttps://github.com/zooba
90f1d77https://github.com/python/cpython/commit/90f1d777177e28b6c7b8d9ba751550e373d61b0a
Mar 10, 2023https://github.com/python/cpython/pull/102454#event-8720385191
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
Mar 10, 2023https://github.com/python/cpython/pull/102454#event-8720385664
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 10, 2023 https://github.com/python/cpython/pull/102454#ref-pullrequest-421728725
bpo-36305: Fixes to path handling and parsing in pathlib #12361 https://github.com/python/cpython/pull/12361
iritkatrielhttps://github.com/iritkatriel
Mar 12, 2023 https://github.com/python/cpython/pull/102454#ref-commit-5f49d2d
https://github.com/barneygale
https://github.com/kmaork
https://github.com/iritkatriel
pythonGH-80486https://github.com/python/cpython/issues/80486
: Fix handling of NTFS alternate data streams in pathlib (https://github.com/iritkatriel/cpython/commit/5f49d2d45e2af9c3938ba4429e9dd464115c8b3b
5f49d2dhttps://github.com/iritkatriel/cpython/commit/5f49d2d45e2af9c3938ba4429e9dd464115c8b3b
pythonGH-102454https://github.com/python/cpython/pull/102454
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 20, 2023 https://github.com/python/cpython/pull/102454#ref-issue-1675113352
PurePosixPath no longer correctly parses PureWindowsPath #103631 https://github.com/python/cpython/issues/103631
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%2F102454
https://github.com/eryksun
eryksun https://github.com/eryksun
https://github.com/python/cpython/pull/102454/files/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/102454/files/e6f11d45ac990022591d53b4f6c7bfe5b7e74bf7
OS-windows https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AOS-windows
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Please reload this pagehttps://github.com/python/cpython/pull/102454
https://github.com/barneygale
https://github.com/zooba
https://github.com/eryksun
https://github.com/bedevere-bot
https://github.com/kmaork
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.