René's URL Explorer Experiment


Title: gh-101000: Add os.path.splitroot() by barneygale · Pull Request #101002 · python/cpython · GitHub

Open Graph Title: gh-101000: Add os.path.splitroot() by barneygale · Pull Request #101002 · python/cpython

X Title: gh-101000: Add os.path.splitroot() by barneygale · Pull Request #101002 · python/cpython

Description: This PR introduces os.path.splitroot(). See #101000 for motivation. In ntpath, the implementation derives from splitdrive(). The splitdrive() function now calls splitroot(), and returns drive, root + tail. Other functions now call splitroot() rather than splitdrive(). In most cases this replaces their own parsing of path roots. It also avoids adding a stack frame. In posixpath, the normpath() function now calls splitroot() rather than parsing path roots itself. In pathlib, path constructors now call splitroot() rather than using a slow OS-agnostic implementation. Performance: $ ./python -m timeit -s 'from pathlib import PureWindowsPath' 'PureWindowsPath("C:/", "foo", "bar")' 50000 loops, best of 5: 6.04 usec per loop # before 50000 loops, best of 5: 4.03 usec per loop # after $ ./python -m timeit -s 'from pathlib import PurePosixPath' 'PurePosixPath("/", "etc", "hosts")' 100000 loops, best of 5: 3.11 usec per loop # before 100000 loops, best of 5: 2.77 usec per loop # after Future work: Improve performance by using native nt._path_splitroot() Issue: gh-101000

Open Graph Description: This PR introduces os.path.splitroot(). See #101000 for motivation. In ntpath, the implementation derives from splitdrive(). The splitdrive() function now calls splitroot(), and returns drive, root...

X Description: This PR introduces os.path.splitroot(). See #101000 for motivation. In ntpath, the implementation derives from splitdrive(). The splitdrive() function now calls splitroot(), and returns drive, root...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6e2a6fd2-e81e-ade1-6d32-d1464a68db5f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id930C:3244AB:420777:589892:69697EC9
html-safe-nonceca524f7c1832c60cb1459c61d92ed3a81c4a3fc27908a0c2d8e9d6e3564f070f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzBDOjMyNDRBQjo0MjA3Nzc6NTg5ODkyOjY5Njk3RUM5IiwidmlzaXRvcl9pZCI6IjQ5OTMwMzQ2MTU5MjQ1NTU0NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac480a4dad10ce756acaf02dc5c83b6d8c195ee0a5fd90481edc6ec2bb6b0c1de9
hovercard-subject-tagpull_request:1195923725
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/101002/files
twitter:imagehttps://avatars.githubusercontent.com/u/960340?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/960340?s=400&v=4
og:image:altThis PR introduces os.path.splitroot(). See #101000 for motivation. In ntpath, the implementation derives from splitdrive(). The splitdrive() function now calls splitroot(), and returns drive, root...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77
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
release48f380098b30acbb700b04f1724481ca10d574fc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/101002/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101002%2Ffiles
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%2F101002%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
Reloadhttps://github.com/python/cpython/pull/101002/files
Reloadhttps://github.com/python/cpython/pull/101002/files
Reloadhttps://github.com/python/cpython/pull/101002/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
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/101002/files
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
AlexWaygoodhttps://github.com/AlexWaygood
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-101000-splitroothttps://github.com/barneygale/cpython/tree/gh-101000-splitroot
Conversation 84 https://github.com/python/cpython/pull/101002
Commits 31 https://github.com/python/cpython/pull/101002/commits
Checks 0 https://github.com/python/cpython/pull/101002/checks
Files changed https://github.com/python/cpython/pull/101002/files
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
gh-101000: Add os.path.splitroot() https://github.com/python/cpython/pull/101002/files#top
Show all changes 31 commits https://github.com/python/cpython/pull/101002/files
21c0ba9 gh-101000: Add os.path.splitroot() barneygale Jan 12, 2023 https://github.com/python/cpython/pull/101002/commits/21c0ba9069f496912f6cc6fc31f21055b772d1ea
836b85d Use splitroot() from pathlib barneygale Jan 12, 2023 https://github.com/python/cpython/pull/101002/commits/836b85d887b807bebfdb88f8443a6785e9005dec
bc2d1f9 Use splitroot() from posixpath barneygale Jan 12, 2023 https://github.com/python/cpython/pull/101002/commits/bc2d1f976fa07f092db018edcb398776fbc8a17f
ecdc40d Use splitroot() from ntpath barneygale Jan 12, 2023 https://github.com/python/cpython/pull/101002/commits/ecdc40dc94341feb080bbc5a5e424c930f7faef8
6592b27 Optimizations barneygale Jan 12, 2023 https://github.com/python/cpython/pull/101002/commits/6592b27e1d72516c47713ba508359445fe63e2c2
78f4227 Correct and expand examples in splitroot() docstring barneygale Jan 13, 2023 https://github.com/python/cpython/pull/101002/commits/78f42270b78e44c17d6d387bf9c083e2ba3938ea
9726ca4 Update Lib/ntpath.py barneygale Jan 13, 2023 https://github.com/python/cpython/pull/101002/commits/9726ca4e394947fa322a659593a9f252fe4a9c29
7a6613c Use splitroot() from pathlib.PurePath.with_name() barneygale Jan 14, 2023 https://github.com/python/cpython/pull/101002/commits/7a6613c5dc53391690102e2725cb93791a11007d
26a8dba Reduce ntpath.normpath() diff noise barneygale Jan 15, 2023 https://github.com/python/cpython/pull/101002/commits/26a8dba786c660cb97a112b44d56b42e7414f48d
0c237d4 Simplify ntpath.commonpath() now that 'isabs' is unused. barneygale Jan 15, 2023 https://github.com/python/cpython/pull/101002/commits/0c237d490b2a77759a9813e3b8433f6987b620a8
11ed3eb Reduce posixpath.normpath() diff noise barneygale Jan 15, 2023 https://github.com/python/cpython/pull/101002/commits/11ed3eb55a93fb21bc89ad6a27c7366dab20f0bf
2c9eed8 Improve documentation barneygale Jan 15, 2023 https://github.com/python/cpython/pull/101002/commits/2c9eed88823e840d8b39a34b26ae0e63f0a9fe38
8299e96 Add whatsnew entry. barneygale Jan 15, 2023 https://github.com/python/cpython/pull/101002/commits/8299e969d316a9cd2b391c88cf203f1fa518ddd4
27ffe37 Simplify ntpath.splitroot() slightly barneygale Jan 15, 2023 https://github.com/python/cpython/pull/101002/commits/27ffe37a991ab0a2c8e25b5bfc72630026f2c37c
9beff2a Apply suggestions from code review barneygale Jan 16, 2023 https://github.com/python/cpython/pull/101002/commits/9beff2af6f5c80945fc745cc64ec9912c87b59a2
bacdee1 Update Doc/library/os.path.rst barneygale Jan 16, 2023 https://github.com/python/cpython/pull/101002/commits/bacdee153c5f28413f21c68ca7919d7311340e7b
4ebe545 Note that drive may be empty on Windows barneygale Jan 16, 2023 https://github.com/python/cpython/pull/101002/commits/4ebe54555959283b243ebce697c76ef988a57cfb
2927afe Re-order drive example barneygale Jan 16, 2023 https://github.com/python/cpython/pull/101002/commits/2927afe301417f7a53442416b73b34c45035e371
b0aa73e Update Doc/library/os.path.rst barneygale Jan 16, 2023 https://github.com/python/cpython/pull/101002/commits/b0aa73e41c782a5a4f0008d6cd8f8c2972afc499
19777d6 Adjust docstring examples barneygale Jan 18, 2023 https://github.com/python/cpython/pull/101002/commits/19777d65c409ae85d60c01d27b5a293dc6e5c605
32e212e Apply suggestions from code review barneygale Jan 19, 2023 https://github.com/python/cpython/pull/101002/commits/32e212e1cb08a6d2bf3704075b5d78a72b05b134
37cded3 Update Doc/library/os.path.rst barneygale Jan 19, 2023 https://github.com/python/cpython/pull/101002/commits/37cded31033f0314ee35e90b65794b19d30d8907
5a8dfce Change example username in docs to 'Sam' barneygale Jan 19, 2023 https://github.com/python/cpython/pull/101002/commits/5a8dfce4e15db8cac619637ec2344134547fc540
0e75a55 Adjust first paragraph to use prose barneygale Jan 19, 2023 https://github.com/python/cpython/pull/101002/commits/0e75a55b3f696e4481a51c7e414503aecf85caba
3663237 Update Doc/library/os.path.rst barneygale Jan 22, 2023 https://github.com/python/cpython/pull/101002/commits/36632370006d68e1bf5c67232f7b615e86b0b2aa
053729d Add tests for bytes (POSIX only) and path-like objects (both platforms) barneygale Jan 22, 2023 https://github.com/python/cpython/pull/101002/commits/053729debe973546048b65e360203937ab752e66
694f093 Add tests for mixed path separators (Windows only) barneygale Jan 22, 2023 https://github.com/python/cpython/pull/101002/commits/694f093fb62074ff7e34d54182fa06edd3c606ca
e99e3cd Remove errant newline. barneygale Jan 22, 2023 https://github.com/python/cpython/pull/101002/commits/e99e3cd2262918ee4148258f3f49360ee85850f2
f618a00 Move most test cases from `test_splitdrive` to `test_splitroot` barneygale Jan 22, 2023 https://github.com/python/cpython/pull/101002/commits/f618a00119ba725052c2264cf8ae2ab7a4b9ed56
1c522c9 Mention pathlib performance improvement in news entry. barneygale Jan 22, 2023 https://github.com/python/cpython/pull/101002/commits/1c522c9077ffc4c1e4c188c8c63b6cd3b7c745d5
df17269 Merge branch 'main' into gh-101000-splitroot AlexWaygood Jan 22, 2023 https://github.com/python/cpython/pull/101002/commits/df172692bfca802f83085ecc4ed434deae7c761a
Clear filters https://github.com/python/cpython/pull/101002/files
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
os.path.rst https://github.com/python/cpython/pull/101002/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
3.12.rst https://github.com/python/cpython/pull/101002/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
ntpath.py https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
pathlib.py https://github.com/python/cpython/pull/101002/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
posixpath.py https://github.com/python/cpython/pull/101002/files#diff-d6136c5d9ee0e94f1493c883b3ff81b005862e11fe75aaab85b760f4309e8146
test_ntpath.py https://github.com/python/cpython/pull/101002/files#diff-f32eb738dcaaaaeb2ac5bcd885fd517e11c9efc35c44912bef0c725e20c1fbea
test_pathlib.py https://github.com/python/cpython/pull/101002/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
test_posixpath.py https://github.com/python/cpython/pull/101002/files#diff-2ba0be153d12a4810bc4d509c97d4c244a9f4fd754c1b47d8d7a991238467595
2023-01-12-21-22-20.gh-issue-101000.wz4Xgc.rst https://github.com/python/cpython/pull/101002/files#diff-75c3921306e4bde1cb1519edf901fdd5d036af166ac9c42b94f19019733bf0cb
Doc/library/os.path.rsthttps://github.com/python/cpython/pull/101002/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
View file https://github.com/barneygale/cpython/blob/df172692bfca802f83085ecc4ed434deae7c761a/Doc/library/os.path.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/101002/{{ revealButtonHref }}
https://github.com/python/cpython/pull/101002/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
https://github.com/python/cpython/pull/101002/files#diff-22dc079c4b2ebb7590f7963d2a7ea70133920c3f465d35b421ec9451c563d783
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.12.rsthttps://github.com/python/cpython/pull/101002/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
View file https://github.com/barneygale/cpython/blob/df172692bfca802f83085ecc4ed434deae7c761a/Doc/whatsnew/3.12.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/101002/{{ revealButtonHref }}
https://github.com/python/cpython/pull/101002/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
https://github.com/python/cpython/pull/101002/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
Lib/ntpath.pyhttps://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
View file https://github.com/barneygale/cpython/blob/df172692bfca802f83085ecc4ed434deae7c761a/Lib/ntpath.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/101002/{{ revealButtonHref }}
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
Please reload this pagehttps://github.com/python/cpython/pull/101002/files
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
https://github.com/python/cpython/pull/101002/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065
Lib/pathlib.pyhttps://github.com/python/cpython/pull/101002/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
View file https://github.com/barneygale/cpython/blob/df172692bfca802f83085ecc4ed434deae7c761a/Lib/pathlib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/101002/{{ revealButtonHref }}
https://github.com/python/cpython/pull/101002/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/101002/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/101002/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/101002/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/101002/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Please reload this pagehttps://github.com/python/cpython/pull/101002/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.