René's URL Explorer Experiment


Title: gh-68320, gh-88302 - Allow for `pathlib.Path` subclassing by barneygale · Pull Request #31691 · python/cpython · GitHub

Open Graph Title: gh-68320, gh-88302 - Allow for `pathlib.Path` subclassing by barneygale · Pull Request #31691 · python/cpython

X Title: gh-68320, gh-88302 - Allow for `pathlib.Path` subclassing by barneygale · Pull Request #31691 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Users may wish to define subclasses of pathlib.PurePath and Path to add or modify existing methods. Before this change, attempting to instantiate a subclass raised an exception like: AttributeError...

X Description: Users may wish to define subclasses of pathlib.PurePath and Path to add or modify existing methods. Before this change, attempting to instantiate a subclass raised an exception like: AttributeError...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:49fca676-4c60-1d2b-a92e-730ca5ee03dd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9140:46801:341163:465C3E:69696AE3
html-safe-noncecbfc1ce159ba687674567c2e319c2d557908613697663dcedb0fe2848b70515a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTQwOjQ2ODAxOjM0MTE2Mzo0NjVDM0U6Njk2OTZBRTMiLCJ2aXNpdG9yX2lkIjoiNDUwMDg5NzkwNTczMTI2NzI5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacca2f4f3118e94b832c89cf7d2d05c23a868adca4798d7e31598423931a3cf981
hovercard-subject-tagpull_request:872134193
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/31691/commits
twitter:imagehttps://opengraph.githubassets.com/b70b4d5aa314d0655c4aa37f9bf64d76b6e41b1c67e0495b0faf62d68fb1aee1/python/cpython/pull/31691
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b70b4d5aa314d0655c4aa37f9bf64d76b6e41b1c67e0495b0faf62d68fb1aee1/python/cpython/pull/31691
og:image:altUsers may wish to define subclasses of pathlib.PurePath and Path to add or modify existing methods. Before this change, attempting to instantiate a subclass raised an exception like: AttributeError...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
Nonec6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881
turbo-cache-controlno-cache
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
releaseec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31691/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31691%2Fcommits
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%2F31691%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/31691/commits
Reloadhttps://github.com/python/cpython/pull/31691/commits
Reloadhttps://github.com/python/cpython/pull/31691/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31691/commits
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/31691/commits
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
brettcannonhttps://github.com/brettcannon
python:mainhttps://github.com/python/cpython/tree/main
barneygale:bpo-44136-remove-pathlib-flavour-2https://github.com/barneygale/cpython/tree/bpo-44136-remove-pathlib-flavour-2
Conversationhttps://github.com/python/cpython/pull/31691
Commits53 (53)https://github.com/python/cpython/pull/31691/commits
Checkshttps://github.com/python/cpython/pull/31691/checks
Files changedhttps://github.com/python/cpython/pull/31691/files
gh-68320, gh-88302 - Allow for pathlib.Path subclassinghttps://github.com/python/cpython/pull/31691/commits#top
brettcannonhttps://github.com/brettcannon
python:mainhttps://github.com/python/cpython/tree/main
barneygale:bpo-44136-remove-pathlib-flavour-2https://github.com/barneygale/cpython/tree/bpo-44136-remove-pathlib-flavour-2
bpo-24132, bpo-44136 - Fix `pathlib.Path` subclassing.https://github.com/python/cpython/pull/31691/commits/7371220586c8367d80867f340381740347d7aea1
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
7371220https://github.com/python/cpython/pull/31691/commits/7371220586c8367d80867f340381740347d7aea1
https://github.com/python/cpython/tree/7371220586c8367d80867f340381740347d7aea1
Add testshttps://github.com/python/cpython/pull/31691/commits/8431d1214140a9a1ab02b178bdf84bf083dd2425
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
8431d12https://github.com/python/cpython/pull/31691/commits/8431d1214140a9a1ab02b178bdf84bf083dd2425
https://github.com/python/cpython/tree/8431d1214140a9a1ab02b178bdf84bf083dd2425
Add tests for PurePath subclasseshttps://github.com/python/cpython/pull/31691/commits/bf2ad3aead98c85b181c5cae2541135e0f110523
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
bf2ad3ahttps://github.com/python/cpython/pull/31691/commits/bf2ad3aead98c85b181c5cae2541135e0f110523
https://github.com/python/cpython/tree/bf2ad3aead98c85b181c5cae2541135e0f110523
Update Misc/NEWS.d/next/Library/2022-03-05-02-14-09.bpo-24132.W6iORO.rsthttps://github.com/python/cpython/pull/31691/commits/4036e2e955cc9720447f7b3700a2b9b755e32cf2
barneygalehttps://github.com/python/cpython/commits?author=barneygale
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
4036e2ehttps://github.com/python/cpython/pull/31691/commits/4036e2e955cc9720447f7b3700a2b9b755e32cf2
https://github.com/python/cpython/tree/4036e2e955cc9720447f7b3700a2b9b755e32cf2
Rename `PurePath._pathmod` to `PurePath._flavour` to reduce the diff.https://github.com/python/cpython/pull/31691/commits/0d08533ca9c4938873ff826ea098cacef0d2374d
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
0d08533https://github.com/python/cpython/pull/31691/commits/0d08533ca9c4938873ff826ea098cacef0d2374d
https://github.com/python/cpython/tree/0d08533ca9c4938873ff826ea098cacef0d2374d
Merge branch 'bpo-44136-remove-pathlib-flavour-2' of github.com:barneygale/cpython into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/0ad8022acfc0389e3c976c2e43b364762dc7278b
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
0ad8022https://github.com/python/cpython/pull/31691/commits/0ad8022acfc0389e3c976c2e43b364762dc7278b
https://github.com/python/cpython/tree/0ad8022acfc0389e3c976c2e43b364762dc7278b
Undo an unnecessary change to `Path.__new__()`https://github.com/python/cpython/pull/31691/commits/28992fc69d90afe67b99ba967ea28250d565af30
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
28992fchttps://github.com/python/cpython/pull/31691/commits/28992fc69d90afe67b99ba967ea28250d565af30
https://github.com/python/cpython/tree/28992fc69d90afe67b99ba967ea28250d565af30
Remove `_casefold()` and `_casefold_parts()` methods.https://github.com/python/cpython/pull/31691/commits/dbec2300fe7010282b78a64284b08073d35ec6d4
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
dbec230https://github.com/python/cpython/pull/31691/commits/dbec2300fe7010282b78a64284b08073d35ec6d4
https://github.com/python/cpython/tree/dbec2300fe7010282b78a64284b08073d35ec6d4
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/d814ee4b4cd01ca15a6e74f5e9262a9abda18cfc
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
d814ee4https://github.com/python/cpython/pull/31691/commits/d814ee4b4cd01ca15a6e74f5e9262a9abda18cfc
https://github.com/python/cpython/tree/d814ee4b4cd01ca15a6e74f5e9262a9abda18cfc
Further simplify overall diff by inlining code from `compile_pattern()`https://github.com/python/cpython/pull/31691/commits/63f1d6834f7087881c3704ae2fa6a2842cdf3815
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
63f1d68https://github.com/python/cpython/pull/31691/commits/63f1d6834f7087881c3704ae2fa6a2842cdf3815
https://github.com/python/cpython/tree/63f1d6834f7087881c3704ae2fa6a2842cdf3815
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/31691/commits/8dddfdf995791e1cc081078cb73b79f2f35488f9
barneygalehttps://github.com/python/cpython/commits?author=barneygale
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
8dddfdfhttps://github.com/python/cpython/pull/31691/commits/8dddfdf995791e1cc081078cb73b79f2f35488f9
https://github.com/python/cpython/tree/8dddfdf995791e1cc081078cb73b79f2f35488f9
Address a couple bits of review feedbackhttps://github.com/python/cpython/pull/31691/commits/b4da721300395af003f1237d071c7e14bfb1925a
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
b4da721https://github.com/python/cpython/pull/31691/commits/b4da721300395af003f1237d071c7e14bfb1925a
https://github.com/python/cpython/tree/b4da721300395af003f1237d071c7e14bfb1925a
Fix testshttps://github.com/python/cpython/pull/31691/commits/7a166fdb493d59b20d3b323cfb9e1b93930c4261
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
7a166fdhttps://github.com/python/cpython/pull/31691/commits/7a166fdb493d59b20d3b323cfb9e1b93930c4261
https://github.com/python/cpython/tree/7a166fdb493d59b20d3b323cfb9e1b93930c4261
Fix docstring formatting.https://github.com/python/cpython/pull/31691/commits/1f4dff11b267ef0f94f0930a8ece44bccea0df6f
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
1f4dff1https://github.com/python/cpython/pull/31691/commits/1f4dff11b267ef0f94f0930a8ece44bccea0df6f
https://github.com/python/cpython/tree/1f4dff11b267ef0f94f0930a8ece44bccea0df6f
Remove FIXME commentshttps://github.com/python/cpython/pull/31691/commits/51893c11c5e794f1072acbe57b0ae921a431c33d
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
51893c1https://github.com/python/cpython/pull/31691/commits/51893c11c5e794f1072acbe57b0ae921a431c33d
https://github.com/python/cpython/tree/51893c11c5e794f1072acbe57b0ae921a431c33d
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/48b49b624753a9a3f73e225700f81ad21b93b6e4
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
48b49b6https://github.com/python/cpython/pull/31691/commits/48b49b624753a9a3f73e225700f81ad21b93b6e4
https://github.com/python/cpython/tree/48b49b624753a9a3f73e225700f81ad21b93b6e4
Update Lib/pathlib.pyhttps://github.com/python/cpython/pull/31691/commits/3624c974507457b00bc7a24531fcca2f0961ea55
barneygalehttps://github.com/python/cpython/commits?author=barneygale
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
3624c97https://github.com/python/cpython/pull/31691/commits/3624c974507457b00bc7a24531fcca2f0961ea55
https://github.com/python/cpython/tree/3624c974507457b00bc7a24531fcca2f0961ea55
Remove vestigal 'casefold' names.https://github.com/python/cpython/pull/31691/commits/ab54c14661b0c98d79be140e2be4ac718b05568f
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
ab54c14https://github.com/python/cpython/pull/31691/commits/ab54c14661b0c98d79be140e2be4ac718b05568f
https://github.com/python/cpython/tree/ab54c14661b0c98d79be140e2be4ac718b05568f
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/2627417656b5e4a39c1936e4440aa448757a4bc8
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
2627417https://github.com/python/cpython/pull/31691/commits/2627417656b5e4a39c1936e4440aa448757a4bc8
https://github.com/python/cpython/tree/2627417656b5e4a39c1936e4440aa448757a4bc8
Restore comment on POSIX paths beginning `//` and tweak implementation.https://github.com/python/cpython/pull/31691/commits/bc7aded29a523bdd580d7f329ad88d89131f9695
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
bc7adedhttps://github.com/python/cpython/pull/31691/commits/bc7aded29a523bdd580d7f329ad88d89131f9695
https://github.com/python/cpython/tree/bc7aded29a523bdd580d7f329ad88d89131f9695
Inline `_join_parsed_parts()` and `_make_child()` in `joinpath()`.https://github.com/python/cpython/pull/31691/commits/4d6e4f3ee6d6017a59cfc0ea8a9e27653c28332e
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
4d6e4f3https://github.com/python/cpython/pull/31691/commits/4d6e4f3ee6d6017a59cfc0ea8a9e27653c28332e
https://github.com/python/cpython/tree/4d6e4f3ee6d6017a59cfc0ea8a9e27653c28332e
Update Lib/pathlib.pyhttps://github.com/python/cpython/pull/31691/commits/70ca8388163f876c6f2d4aa491dd8d504aca7bb4
barneygalehttps://github.com/python/cpython/commits?author=barneygale
AA-Turnerhttps://github.com/python/cpython/commits?author=AA-Turner
70ca838https://github.com/python/cpython/pull/31691/commits/70ca8388163f876c6f2d4aa491dd8d504aca7bb4
https://github.com/python/cpython/tree/70ca8388163f876c6f2d4aa491dd8d504aca7bb4
Remove unused importhttps://github.com/python/cpython/pull/31691/commits/a2cc74f3dd9b28baee80e77cda8517566d74758e
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
a2cc74fhttps://github.com/python/cpython/pull/31691/commits/a2cc74f3dd9b28baee80e77cda8517566d74758e
https://github.com/python/cpython/tree/a2cc74f3dd9b28baee80e77cda8517566d74758e
Make NEWS entry more precise.https://github.com/python/cpython/pull/31691/commits/0e2478bbac3c60e7b3d116d0fb3b69f11da49476
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
0e2478bhttps://github.com/python/cpython/pull/31691/commits/0e2478bbac3c60e7b3d116d0fb3b69f11da49476
https://github.com/python/cpython/tree/0e2478bbac3c60e7b3d116d0fb3b69f11da49476
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/31691/commits/0d0cf6012cd0aae28f923ab99ab05c04f2d78c94
barneygalehttps://github.com/python/cpython/commits?author=barneygale
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
0d0cf60https://github.com/python/cpython/pull/31691/commits/0d0cf6012cd0aae28f923ab99ab05c04f2d78c94
https://github.com/python/cpython/tree/0d0cf6012cd0aae28f923ab99ab05c04f2d78c94
Clarify `_pparts` and `_ncparts` naming.https://github.com/python/cpython/pull/31691/commits/f3048d312d72e9f1cac381aab8238c702a640161
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
f3048d3https://github.com/python/cpython/pull/31691/commits/f3048d312d72e9f1cac381aab8238c702a640161
https://github.com/python/cpython/tree/f3048d312d72e9f1cac381aab8238c702a640161
Tidy up usage of `normcase()`https://github.com/python/cpython/pull/31691/commits/8a213ae1d5600d383451950c2a634d9b601d8987
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
8a213aehttps://github.com/python/cpython/pull/31691/commits/8a213ae1d5600d383451950c2a634d9b601d8987
https://github.com/python/cpython/tree/8a213ae1d5600d383451950c2a634d9b601d8987
Tweak `is_absolute()` to use `os.path.isabs()` wherever possible.https://github.com/python/cpython/pull/31691/commits/402dafe63d8a11a6916d549ada1918ce962a8653
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
402dafehttps://github.com/python/cpython/pull/31691/commits/402dafe63d8a11a6916d549ada1918ce962a8653
https://github.com/python/cpython/tree/402dafe63d8a11a6916d549ada1918ce962a8653
Stop using `self._flavour` in `as_uri()`.https://github.com/python/cpython/pull/31691/commits/5cc3ab2eb9a49ad2dfc1bb764cdc02c524b92951
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
5cc3ab2https://github.com/python/cpython/pull/31691/commits/5cc3ab2eb9a49ad2dfc1bb764cdc02c524b92951
https://github.com/python/cpython/tree/5cc3ab2eb9a49ad2dfc1bb764cdc02c524b92951
Remove `cls._flavour` identity check in `_parse_parts()`.https://github.com/python/cpython/pull/31691/commits/19a88045cf9c9bbde393d209fd93e88160bc53c4
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
19a8804https://github.com/python/cpython/pull/31691/commits/19a88045cf9c9bbde393d209fd93e88160bc53c4
https://github.com/python/cpython/tree/19a88045cf9c9bbde393d209fd93e88160bc53c4
Fix Windows testshttps://github.com/python/cpython/pull/31691/commits/9da46bc3a874b90ac9d7b6581d5e1ff9481fbc9b
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
9da46bchttps://github.com/python/cpython/pull/31691/commits/9da46bc3a874b90ac9d7b6581d5e1ff9481fbc9b
https://github.com/python/cpython/tree/9da46bc3a874b90ac9d7b6581d5e1ff9481fbc9b
Restore `_split_root()` method and its tests.https://github.com/python/cpython/pull/31691/commits/29f9f8120779587f1a9fa2c40cbd3e52cb66ad63
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
29f9f81https://github.com/python/cpython/pull/31691/commits/29f9f8120779587f1a9fa2c40cbd3e52cb66ad63
https://github.com/python/cpython/tree/29f9f8120779587f1a9fa2c40cbd3e52cb66ad63
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/52851b82b4c2e16a699cf19e4e1a9affbab79ae3
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
52851b8https://github.com/python/cpython/pull/31691/commits/52851b82b4c2e16a699cf19e4e1a9affbab79ae3
https://github.com/python/cpython/tree/52851b82b4c2e16a699cf19e4e1a9affbab79ae3
Optimize `_split_root()`https://github.com/python/cpython/pull/31691/commits/b39da536dc355d274e228d7810bbac20d0b70916
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
b39da53https://github.com/python/cpython/pull/31691/commits/b39da536dc355d274e228d7810bbac20d0b70916
https://github.com/python/cpython/tree/b39da536dc355d274e228d7810bbac20d0b70916
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/c7b18b19ed99810ef50611d6bd994c260531e7d2
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
c7b18b1https://github.com/python/cpython/pull/31691/commits/c7b18b19ed99810ef50611d6bd994c260531e7d2
https://github.com/python/cpython/tree/c7b18b19ed99810ef50611d6bd994c260531e7d2
Move `is_reserved()` implementation into `os.path` as a private function.https://github.com/python/cpython/pull/31691/commits/806ad150ac5f7397623ea5d0c6869f3b7d43b6a1
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
806ad15https://github.com/python/cpython/pull/31691/commits/806ad150ac5f7397623ea5d0c6869f3b7d43b6a1
https://github.com/python/cpython/tree/806ad150ac5f7397623ea5d0c6869f3b7d43b6a1
Use `os.path.normcase()` when globbing.https://github.com/python/cpython/pull/31691/commits/a35000959fe4f1ae83b8c1bd4369f728c185d92a
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
a350009https://github.com/python/cpython/pull/31691/commits/a35000959fe4f1ae83b8c1bd4369f728c185d92a
https://github.com/python/cpython/tree/a35000959fe4f1ae83b8c1bd4369f728c185d92a
Simplify `_split_root()` implementation.https://github.com/python/cpython/pull/31691/commits/799b40ef2ed0aa9479a05e6bd6c0fa1a7b0adda3
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
799b40ehttps://github.com/python/cpython/pull/31691/commits/799b40ef2ed0aa9479a05e6bd6c0fa1a7b0adda3
https://github.com/python/cpython/tree/799b40ef2ed0aa9479a05e6bd6c0fa1a7b0adda3
Remove tests for malformed UNC pathshttps://github.com/python/cpython/pull/31691/commits/a6b25ea8e0954782e50cd70077daedcf195a8ec4
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
a6b25eahttps://github.com/python/cpython/pull/31691/commits/a6b25ea8e0954782e50cd70077daedcf195a8ec4
https://github.com/python/cpython/tree/a6b25ea8e0954782e50cd70077daedcf195a8ec4
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/ac6f6e2d40b30836d76800ffea8483be560c2a55
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
ac6f6e2https://github.com/python/cpython/pull/31691/commits/ac6f6e2d40b30836d76800ffea8483be560c2a55
https://github.com/python/cpython/tree/ac6f6e2d40b30836d76800ffea8483be560c2a55
Revert "Move `is_reserved()` implementation into `os.path` as a private function."https://github.com/python/cpython/pull/31691/commits/b8874dfed181f2be6c331ddf1a4a68a64e396bd6
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
b8874dfhttps://github.com/python/cpython/pull/31691/commits/b8874dfed181f2be6c331ddf1a4a68a64e396bd6
https://github.com/python/cpython/tree/b8874dfed181f2be6c331ddf1a4a68a64e396bd6
Tweak _split_root() to use removesuffix()https://github.com/python/cpython/pull/31691/commits/9d5e18a3502a8941783dcad0c9f0e4a65ccb68c6
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
9d5e18ahttps://github.com/python/cpython/pull/31691/commits/9d5e18a3502a8941783dcad0c9f0e4a65ccb68c6
https://github.com/python/cpython/tree/9d5e18a3502a8941783dcad0c9f0e4a65ccb68c6
Remove test that `/b/c/d` and `///b/c/d` are equivalent.https://github.com/python/cpython/pull/31691/commits/f73f426d1eb2625722f1e6a8287c2b495ed6f0bc
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
f73f426https://github.com/python/cpython/pull/31691/commits/f73f426d1eb2625722f1e6a8287c2b495ed6f0bc
https://github.com/python/cpython/tree/f73f426d1eb2625722f1e6a8287c2b495ed6f0bc
Restore comment linking to *Naming Files* page in Microsoft docshttps://github.com/python/cpython/pull/31691/commits/37e4bc1e06907b59878c8ae23e6071a58c68b404
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
37e4bc1https://github.com/python/cpython/pull/31691/commits/37e4bc1e06907b59878c8ae23e6071a58c68b404
https://github.com/python/cpython/tree/37e4bc1e06907b59878c8ae23e6071a58c68b404
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/31691/commits/e3f13efcbed4241f65fbdc44d4962ef9a7ee3d66
e3f13efhttps://github.com/python/cpython/pull/31691/commits/e3f13efcbed4241f65fbdc44d4962ef9a7ee3d66
https://github.com/python/cpython/tree/e3f13efcbed4241f65fbdc44d4962ef9a7ee3d66
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/ff4e1b362a0d90ba5d11f7fddf26ddb21fdffbc6
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
ff4e1b3https://github.com/python/cpython/pull/31691/commits/ff4e1b362a0d90ba5d11f7fddf26ddb21fdffbc6
https://github.com/python/cpython/tree/ff4e1b362a0d90ba5d11f7fddf26ddb21fdffbc6
Clarify repr roundtrip tests.https://github.com/python/cpython/pull/31691/commits/07c67d00f68adf2c160895ba9ec0a32408e2d173
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
07c67d0https://github.com/python/cpython/pull/31691/commits/07c67d00f68adf2c160895ba9ec0a32408e2d173
https://github.com/python/cpython/tree/07c67d00f68adf2c160895ba9ec0a32408e2d173
Reduce tests diffhttps://github.com/python/cpython/pull/31691/commits/950aa47d638cd1feb50c93f09a10b2ba89f4b2f4
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
950aa47https://github.com/python/cpython/pull/31691/commits/950aa47d638cd1feb50c93f09a10b2ba89f4b2f4
https://github.com/python/cpython/tree/950aa47d638cd1feb50c93f09a10b2ba89f4b2f4
Remove test that `/b/c/d` and `///b/c/d` are equivalent.https://github.com/python/cpython/pull/31691/commits/d5f6f0332acc02f18bcfeffee94cd7eee0f5c4f2
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
d5f6f03https://github.com/python/cpython/pull/31691/commits/d5f6f0332acc02f18bcfeffee94cd7eee0f5c4f2
https://github.com/python/cpython/tree/d5f6f0332acc02f18bcfeffee94cd7eee0f5c4f2
Fix missing full stops.https://github.com/python/cpython/pull/31691/commits/b66a4fbf50a05f51e52f3f1c8f2a5a0345c0810e
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
b66a4fbhttps://github.com/python/cpython/pull/31691/commits/b66a4fbf50a05f51e52f3f1c8f2a5a0345c0810e
https://github.com/python/cpython/tree/b66a4fbf50a05f51e52f3f1c8f2a5a0345c0810e
Remove four more test assertions affected by #96290https://github.com/python/cpython/pull/31691/commits/fbaadf45d443c33a1df8d1122aee0805de3c7822
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
fbaadf4https://github.com/python/cpython/pull/31691/commits/fbaadf45d443c33a1df8d1122aee0805de3c7822
https://github.com/python/cpython/tree/fbaadf45d443c33a1df8d1122aee0805de3c7822
Merge branch 'main' into bpo-44136-remove-pathlib-flavour-2https://github.com/python/cpython/pull/31691/commits/3692fdf498fba56e46f21a0e3ac89e0821f79bd8
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
3692fdfhttps://github.com/python/cpython/pull/31691/commits/3692fdf498fba56e46f21a0e3ac89e0821f79bd8
https://github.com/python/cpython/tree/3692fdf498fba56e46f21a0e3ac89e0821f79bd8
Wrap repr test cases in `self.subTest()` blockhttps://github.com/python/cpython/pull/31691/commits/40dc5147b6da2c16d42f817d6eec24b30501e24f
https://github.com/barneygale
barneygalehttps://github.com/python/cpython/commits?author=barneygale
40dc514https://github.com/python/cpython/pull/31691/commits/40dc5147b6da2c16d42f817d6eec24b30501e24f
https://github.com/python/cpython/tree/40dc5147b6da2c16d42f817d6eec24b30501e24f
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.