| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f2756f2e-a15a-33cb-e968-578a68b86a03 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C1D6:1D1048:31489D:43F2DC:6968FB98 |
| html-safe-nonce | df957cfcabc6177af5dad55c046d550706d079bfa1bf507a2c8589ba8a6fb314 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUQ2OjFEMTA0ODozMTQ4OUQ6NDNGMkRDOjY5NjhGQjk4IiwidmlzaXRvcl9pZCI6IjUzNDI4NTI2NjI3MzIzMjM3MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a3f8cbc653bec0de607bbb5b5bbac164acd0bed3e69d3e7e27d73f9704da436d |
| hovercard-subject-tag | pull_request:657130754 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/26438/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b3f7433ecfb888deec2f3205f4fbfc8abba0f91ae0b806516cb222e9fce4b1f4/python/cpython/pull/26438 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3f7433ecfb888deec2f3205f4fbfc8abba0f91ae0b806516cb222e9fce4b1f4/python/cpython/pull/26438 |
| og:image:alt | Updated based on feedback - currently marked as draft
I submit for your consideration what I believe is the first working version (with documentation) of an extensible, subclassable PurePath/Path t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kfollstad |
| hostname | github.com |
| expected-hostname | github.com |
| None | e6156bd4ef9f2dc8dadf4c49a8f7ed8532186388cef72eda3ccb9f0ab3b8cfca |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fd1938215b152e2c6a29cf56fec07fd9f91f1203 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/26438#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26438 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F26438 |
|
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 |
| Reload | https://github.com/python/cpython/pull/26438 |
| Reload | https://github.com/python/cpython/pull/26438 |
| Reload | https://github.com/python/cpython/pull/26438 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
|
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
2k
| 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 page | https://github.com/python/cpython/pull/26438 |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/26438#issue-comment-box |
| kfollstad | https://github.com/kfollstad |
| python:main | https://github.com/python/cpython/tree/main |
| kfollstad:PathlibSimplePath | https://github.com/kfollstad/cpython/tree/PathlibSimplePath |
|
bpo-24132: Direct sub-classing of pathlib.Path
| https://github.com/python/cpython/pull/26438#top |
| kfollstad | https://github.com/kfollstad |
| python:main | https://github.com/python/cpython/tree/main |
| kfollstad:PathlibSimplePath | https://github.com/kfollstad/cpython/tree/PathlibSimplePath |
|
Conversation
3
| https://github.com/python/cpython/pull/26438 |
|
Commits
11
| https://github.com/python/cpython/pull/26438/commits |
|
Checks
0
| https://github.com/python/cpython/pull/26438/checks |
|
Files changed
| https://github.com/python/cpython/pull/26438/files |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/kfollstad |
| kfollstad | https://github.com/kfollstad |
| May 28, 2021 | https://github.com/python/cpython/pull/26438#issue-906096457 |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| bpo-24132 | https://bugs.python.org/issue24132 |
| posted a more detailed version of this explanation on discuss.python.org | https://discuss.python.org/t/fixing-subclassing-in-pathlib/8983 |
| https://bugs.python.org/issue24132 | https://bugs.python.org/issue24132 |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| kfollstad | https://github.com/kfollstad |
| May 28, 2021 14:14 | https://github.com/python/cpython/pull/26438#commits-pushed-f011491 |
|
| https://github.com/kfollstad |
| bpo-24132: Add stub SimplePath/FilePath classes to pathlib | https://github.com/python/cpython/pull/26438/commits/f011491b0ad98e157261f52d5173119763328770 |
| f011491 | https://github.com/python/cpython/pull/26438/commits/f011491b0ad98e157261f52d5173119763328770 |
|
| https://github.com/kfollstad |
| bpo-24132: Replace hardcoded references where possible in pathlib | https://github.com/python/cpython/pull/26438/commits/ff1d4553c9d7613bcab4693ef3483b5ded18c17d |
| ff1d455 | https://github.com/python/cpython/pull/26438/commits/ff1d4553c9d7613bcab4693ef3483b5ded18c17d |
|
| https://github.com/kfollstad |
| bpo-24132: Refactor PurePath methods into base class in pathlib | https://github.com/python/cpython/pull/26438/commits/488994f89eac8e00f84a6a05340f160175d38182 |
| 488994f | https://github.com/python/cpython/pull/26438/commits/488994f89eac8e00f84a6a05340f160175d38182 |
|
| https://github.com/kfollstad |
| bpo-24132: Completed SimplePath in pathlib | https://github.com/python/cpython/pull/26438/commits/6a69e0dd813d9fccf913971e62919f049a1b6cf6 |
| 6a69e0d | https://github.com/python/cpython/pull/26438/commits/6a69e0dd813d9fccf913971e62919f049a1b6cf6 |
|
| https://github.com/kfollstad |
| bpo-24132: Partial implmentation of FilePath in pathlib | https://github.com/python/cpython/pull/26438/commits/09317e2e71e664938e5eef09cca08128bdab144c |
| 09317e2 | https://github.com/python/cpython/pull/26438/commits/09317e2e71e664938e5eef09cca08128bdab144c |
|
| https://github.com/kfollstad |
| bpo-24132: Fix inconsistent organization of is_mount in pathlib | https://github.com/python/cpython/pull/26438/commits/d966acfb99f93db5f060b38ae698ae39bde9e6be |
| d966acf | https://github.com/python/cpython/pull/26438/commits/d966acfb99f93db5f060b38ae698ae39bde9e6be |
|
| https://github.com/kfollstad |
| bpo-24132: Replace additional hardcoded references in pathlib | https://github.com/python/cpython/pull/26438/commits/ed5f237ca46d150cc2343e64814453be8f54267d |
| ed5f237 | https://github.com/python/cpython/pull/26438/commits/ed5f237ca46d150cc2343e64814453be8f54267d |
|
| https://github.com/kfollstad |
| bpo-24132: Completed FilePath in pathlib | https://github.com/python/cpython/pull/26438/commits/ecc341ba9261bd6ed1e3daf1eb05e7591f909d85 |
| ecc341b | https://github.com/python/cpython/pull/26438/commits/ecc341ba9261bd6ed1e3daf1eb05e7591f909d85 |
|
| https://github.com/kfollstad |
| bpo-24123: Add SimplePosixPath and SimpleWindowsPath to pathlib | https://github.com/python/cpython/pull/26438/commits/2700e46b2a07fd928cbbc6f126eb416cbc053cff |
| 2700e46 | https://github.com/python/cpython/pull/26438/commits/2700e46b2a07fd928cbbc6f126eb416cbc053cff |
|
| https://github.com/kfollstad |
| bpo-24132: Fix validity of inter-path comparison in pathlib | https://github.com/python/cpython/pull/26438/commits/d15d8da8ebb3d23934f2ca476d063cee0480f863 |
| d15d8da | https://github.com/python/cpython/pull/26438/commits/d15d8da8ebb3d23934f2ca476d063cee0480f863 |
|
| https://github.com/kfollstad |
| bpo-24132: Document FilePath and SimplePath family in pathlib | https://github.com/python/cpython/pull/26438/commits/6028b6de32ec2466cb046623ae26ef7b999477e6 |
| 6028b6d | https://github.com/python/cpython/pull/26438/commits/6028b6de32ec2466cb046623ae26ef7b999477e6 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| May 28, 2021 | https://github.com/python/cpython/pull/26438#event-4814905289 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| May 28, 2021 | https://github.com/python/cpython/pull/26438#event-4814905360 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| May 28, 2021 | https://github.com/python/cpython/pull/26438#issuecomment-850714856 |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| https://github.com/kfollstad |
| kfollstad | https://github.com/kfollstad |
|
May 29, 2021
| https://github.com/python/cpython/pull/26438#ref-pullrequest-892388238 |
|
bpo-44136: remove pathlib._Flavour
#26141
| https://github.com/python/cpython/pull/26141 |
| https://github.com/kfollstad |
| kfollstad | https://github.com/kfollstad |
| May 31, 2021 05:01 | https://github.com/python/cpython/pull/26438#event-4818346774 |
| https://github.com/kfollstad |
| kfollstad | https://github.com/kfollstad |
| May 31, 2021 | https://github.com/python/cpython/pull/26438#issuecomment-851203710 |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| @barneygale | https://github.com/barneygale |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| https://github.com/kfollstad |
| kfollstad | https://github.com/kfollstad |
| Jun 25, 2021 | https://github.com/python/cpython/pull/26438#issuecomment-868797948 |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| bpo-24132 | https://bugs.python.org/issue24132 |
| #26906 | https://github.com/python/cpython/pull/26906 |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
| https://github.com/kfollstad |
| kfollstad | https://github.com/kfollstad |
| Jun 25, 2021 | https://github.com/python/cpython/pull/26438#event-4941731521 |
| https://github.com/python/cpython/pull/26438 |
| projetmbc | https://github.com/python/cpython/pull/26438 |
|
Jun 21, 2022
| https://github.com/python/cpython/pull/26438#ref-issue-1198934994 |
|
Direct sub-classing of pathlib.Path
#68320
| https://github.com/python/cpython/issues/68320 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26438 |
|
| https://github.com/barneygale |
|
barneygale
| https://github.com/barneygale |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Please reload this page | https://github.com/python/cpython/pull/26438 |
|
| https://github.com/kfollstad |
|
| https://github.com/barneygale |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/bedevere-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |