René's URL Explorer Experiment


Title: bpo-24132: Add direct subclassing of PurePath/Path in pathlib by kfollstad · Pull Request #26906 · python/cpython · GitHub

Open Graph Title: bpo-24132: Add direct subclassing of PurePath/Path in pathlib by kfollstad · Pull Request #26906 · python/cpython

X Title: bpo-24132: Add direct subclassing of PurePath/Path in pathlib by kfollstad · Pull Request #26906 · python/cpython

Description: I submit for your consideration a new working version (with documentation) of an extensible, subclassable PurePath/Path to close bpo-24132, a 6-year-old bug. I had previously submitted a PR which a...

Open Graph Description: I submit for your consideration a new working version (with documentation) of an extensible, subclassable PurePath/Path to close bpo-24132, a 6-year-old bug. I had previously submitted a PR which a...

X Description: I submit for your consideration a new working version (with documentation) of an extensible, subclassable PurePath/Path to close bpo-24132, a 6-year-old bug. I had previously submitted a PR which a...

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

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:2967eb28-37d7-d86c-dd15-a57030c8b47f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA47A:130E82:4E8D9E:6AE800:6969D907
html-safe-nonce03a5907bed19efd43a0516ba6d992e32014adb306e44e484548ab65af465adcf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDdBOjEzMEU4Mjo0RThEOUU6NkFFODAwOjY5NjlEOTA3IiwidmlzaXRvcl9pZCI6IjM4Mjk4NTE3NjAxMzc3MjIxMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3602077d39ffdffba41c8b792149a0737ef8ee5c2779330b4b98be55115c7315
hovercard-subject-tagpull_request:677493861
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/26906/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5a45c8bd999b1e5302e47e5073dc6b9de951771669fcb6d0aa2035fca786cc64/python/cpython/pull/26906
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a45c8bd999b1e5302e47e5073dc6b9de951771669fcb6d0aa2035fca786cc64/python/cpython/pull/26906
og:image:altI submit for your consideration a new working version (with documentation) of an extensible, subclassable PurePath/Path to close bpo-24132, a 6-year-old bug. I had previously submitted a PR which a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekfollstad
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/26906#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26906
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%2F26906
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/26906
Reloadhttps://github.com/python/cpython/pull/26906
Reloadhttps://github.com/python/cpython/pull/26906
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/26906
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/26906
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/26906#issue-comment-box
kfollstadhttps://github.com/kfollstad
python:mainhttps://github.com/python/cpython/tree/main
kfollstad:PathlibFinalMasqueradehttps://github.com/kfollstad/cpython/tree/PathlibFinalMasquerade
bpo-24132: Add direct subclassing of PurePath/Path in pathlib https://github.com/python/cpython/pull/26906#top
kfollstadhttps://github.com/kfollstad
python:mainhttps://github.com/python/cpython/tree/main
kfollstad:PathlibFinalMasqueradehttps://github.com/kfollstad/cpython/tree/PathlibFinalMasquerade
Conversation 8 https://github.com/python/cpython/pull/26906
Commits 7 https://github.com/python/cpython/pull/26906/commits
Checks 0 https://github.com/python/cpython/pull/26906/checks
Files changed https://github.com/python/cpython/pull/26906/files
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/kfollstad
kfollstadhttps://github.com/kfollstad
Jun 24, 2021https://github.com/python/cpython/pull/26906#issue-929678998
Please reload this pagehttps://github.com/python/cpython/pull/26906
bpo-24132https://bugs.python.org/issue24132
@barneygalehttps://github.com/barneygale
His idea thread on this is herehttps://discuss.python.org/t/make-pathlib-extensible/3428
That code can be found here.https://github.com/kfollstad/cpython/commit/903f35fa5d71d57edbdd417982799cc180121c07
https://bugs.python.org/issue24132https://bugs.python.org/issue24132
Please reload this pagehttps://github.com/python/cpython/pull/26906
kfollstadhttps://github.com/kfollstad
June 24, 2021 13:54https://github.com/python/cpython/pull/26906#commits-pushed-710f577
https://github.com/kfollstad
bpo-24132: Add tests for class properties in pathlib's PurePath/Pathhttps://github.com/python/cpython/pull/26906/commits/710f5778302dbe4363a0e9a8b187275d6c1bc47c
710f577https://github.com/python/cpython/pull/26906/commits/710f5778302dbe4363a0e9a8b187275d6c1bc47c
https://github.com/kfollstad
bpo-24132: Add test for direct subclassing of PurePath/Path in pathlibhttps://github.com/python/cpython/pull/26906/commits/a373969d084b89b60cf34bbe32becd1fec9e8707
a373969https://github.com/python/cpython/pull/26906/commits/a373969d084b89b60cf34bbe32becd1fec9e8707
https://github.com/kfollstad
bpo-24132: Fix inconsistent organization of is_mount in pathlibhttps://github.com/python/cpython/pull/26906/commits/35d8f789fad64674a7c7d254f2d5808049f0e504
35d8f78https://github.com/python/cpython/pull/26906/commits/35d8f789fad64674a7c7d254f2d5808049f0e504
https://github.com/kfollstad
bpo-24132: Replace additional hardcoded references in pathlibhttps://github.com/python/cpython/pull/26906/commits/bab67b412ebe5b9283dc85326abf1c396ca1232b
bab67b4https://github.com/python/cpython/pull/26906/commits/bab67b412ebe5b9283dc85326abf1c396ca1232b
https://github.com/kfollstad
bpo-24132: Replace factory functionality with masquerade in pathlibhttps://github.com/python/cpython/pull/26906/commits/67faae045e7b95ffe1d4ccb742b5cd4006145dd0
67faae0https://github.com/python/cpython/pull/26906/commits/67faae045e7b95ffe1d4ccb742b5cd4006145dd0
https://github.com/kfollstad
bpo-24132: Add tests for comparing subclasses of PurePath in pathlibhttps://github.com/python/cpython/pull/26906/commits/610f41ed81e96b525b6ac230117527255e79b73d
610f41ehttps://github.com/python/cpython/pull/26906/commits/610f41ed81e96b525b6ac230117527255e79b73d
https://github.com/kfollstad
bpo-24132: Document direct subclassing of PurePath/Path in pathlibhttps://github.com/python/cpython/pull/26906/commits/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba
a0c4998https://github.com/python/cpython/pull/26906/commits/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba
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
Jun 24, 2021https://github.com/python/cpython/pull/26906#event-4937213416
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
Jun 24, 2021https://github.com/python/cpython/pull/26906#event-4937213524
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jun 25, 2021https://github.com/python/cpython/pull/26906#issuecomment-868491408
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/kfollstad
kfollstadhttps://github.com/kfollstad
Jun 25, 2021 https://github.com/python/cpython/pull/26906#pullrequestreview-693139035
View reviewed changes https://github.com/python/cpython/pull/26906/files/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba
Doc/conf.pyhttps://github.com/python/cpython/pull/26906/files/610f41ed81e96b525b6ac230117527255e79b73d..a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba#diff-bd848f922db8b27516214e75f544d03f48a19eeebfe2509341a7c18e0a115c8c
kfollstadhttps://github.com/kfollstad
Jun 25, 2021https://github.com/python/cpython/pull/26906#discussion_r658995601
Please reload this pagehttps://github.com/python/cpython/pull/26906
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26906
merwokhttps://github.com/merwok
Jan 5, 2022https://github.com/python/cpython/pull/26906#discussion_r778499552
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/kfollstad
kfollstadhttps://github.com/kfollstad
Jun 25, 2021 https://github.com/python/cpython/pull/26906#ref-pullrequest-906096457
bpo-24132: Direct sub-classing of pathlib.Path #26438 https://github.com/python/cpython/pull/26438
https://github.com/kfollstad
kfollstadhttps://github.com/kfollstad
June 26, 2021 08:44https://github.com/python/cpython/pull/26906#event-4942724910
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 27, 2021https://github.com/python/cpython/pull/26906#issuecomment-887108993
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jul 27, 2021https://github.com/python/cpython/pull/26906#event-5071308994
https://github.com/merwok
merwokhttps://github.com/merwok
Jan 5, 2022 https://github.com/python/cpython/pull/26906#pullrequestreview-844155589
View reviewed changes https://github.com/python/cpython/pull/26906/files/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/26906/files/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
merwokhttps://github.com/merwok
Jan 5, 2022https://github.com/python/cpython/pull/26906#discussion_r778499893
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/merwok
merwokhttps://github.com/merwok
Jan 5, 2022 https://github.com/python/cpython/pull/26906#pullrequestreview-844156467
View reviewed changes https://github.com/python/cpython/pull/26906/files/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/26906/files/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
merwokhttps://github.com/merwok
Jan 5, 2022https://github.com/python/cpython/pull/26906#discussion_r778500656
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Jun 21, 2022https://github.com/python/cpython/pull/26906#event-6849688401
https://github.com/python/cpython/pull/26906
projetmbchttps://github.com/python/cpython/pull/26906
Jun 21, 2022 https://github.com/python/cpython/pull/26906#ref-issue-1198934994
Direct sub-classing of pathlib.Path #68320 https://github.com/python/cpython/issues/68320
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jun 25, 2022https://github.com/python/cpython/pull/26906#issuecomment-1166362994
@kfollstadhttps://github.com/kfollstad
#31691https://github.com/python/cpython/pull/31691
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/26906#event-6988861992
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 10, 2022https://github.com/python/cpython/pull/26906#event-7159564457
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Feb 18, 2023https://github.com/python/cpython/pull/26906#issuecomment-1435650862
@kfollstadhttps://github.com/kfollstad
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Feb 18, 2023https://github.com/python/cpython/pull/26906#event-8552967871
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%2F26906
https://github.com/merwok
merwok https://github.com/merwok
https://github.com/python/cpython/pull/26906/files/a0c4998ffd2fdb32aa8901a7ba872a4d9ddaabba
https://github.com/barneygale
barneygale https://github.com/barneygale
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/hugovk
hugovk https://github.com/hugovk
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Please reload this pagehttps://github.com/python/cpython/pull/26906
https://github.com/kfollstad
https://github.com/barneygale
https://github.com/merwok
https://github.com/brettcannon
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
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.