| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:52b5f9d9-5d82-d0da-9a71-3d472c0f046c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 81EC:31EA40:852E2:B053A:6969CBE2 |
| html-safe-nonce | da2239d347d6b9ab6e722094ce59c20a5cfda8a551fbdd497d020965435c71e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUVDOjMxRUE0MDo4NTJFMjpCMDUzQTo2OTY5Q0JFMiIsInZpc2l0b3JfaWQiOiIzMTk5Mzk1MjYzMTA0NTM1NTIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7976ed537660e5da3925a85d12b315d060c3293480319167de312d10b47a3ccd |
| hovercard-subject-tag | pull_request:645104524 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/26141/files |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| og:image:alt | For bpo-24132, we'd like subclasses of AbstractPath to be able to customize flavour behaviour (like as_uri()) without needing to promote _Flavour to a public class.
(Copy-pasted bug description... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/26141/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26141%2Ffiles |
| 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%2F26141%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 |
| Reload | https://github.com/python/cpython/pull/26141/files |
| Reload | https://github.com/python/cpython/pull/26141/files |
| Reload | https://github.com/python/cpython/pull/26141/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/26141/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 page | https://github.com/python/cpython/pull/26141/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 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 |
| barneygale | https://github.com/barneygale |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:bpo-44136-remove-pathlib-flavour | https://github.com/barneygale/cpython/tree/bpo-44136-remove-pathlib-flavour |
|
Conversation
11
| https://github.com/python/cpython/pull/26141 |
|
Commits
14
| https://github.com/python/cpython/pull/26141/commits |
|
Checks
0
| https://github.com/python/cpython/pull/26141/checks |
|
Files changed
| https://github.com/python/cpython/pull/26141/files |
| Please reload this page | https://github.com/python/cpython/pull/26141/files |
|
bpo-44136: remove pathlib._Flavour
| https://github.com/python/cpython/pull/26141/files#top |
|
Show all changes
14 commits
| https://github.com/python/cpython/pull/26141/files |
|
3655d5e
Remove `flavour.is_reserved()`
barneygale May 14, 2021
| https://github.com/python/cpython/pull/26141/commits/3655d5ef6ae3923929a9ba6d3185962ea55b1f35 |
|
0faa6d0
Remove `flavour.make_uri()`
barneygale May 14, 2021
| https://github.com/python/cpython/pull/26141/commits/0faa6d0df4862d5b6024ea66101fa50e49f8c1fe |
|
3094398
Remove `flavour.join()`, `flavour.sep` and `flavour.altsep`
barneygale May 14, 2021
| https://github.com/python/cpython/pull/26141/commits/3094398b4aad5e0e0424fb23c8dce96d35958956 |
|
00f6126
Remove `flavour.join_parsed_parts()`
barneygale May 14, 2021
| https://github.com/python/cpython/pull/26141/commits/00f6126807c29c197a7726d0ec9d8819c55af2b1 |
|
6ea7eae
Remove `flavour.parse_parts()`, `flavour.splitroot()` and `flavour.pa…
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/6ea7eaed57cf38550e63b1c922176ccec5be4b91 |
|
66f5453
Remove `flavour.compile_pattern()`
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/66f5453f8eb80bad4406858c48dd5662936a0070 |
|
3d27707
Remove `flavour.is_supported`
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/3d277071ec5ecf19e2b12fe9d521cf01c4f0abfc |
|
b4beecc
Remove `flavour.has_drv`.
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/b4beecc71e1bb5c117e51e6022982b6c1bac56d8 |
|
3cf15c6
Remove `flavour.casefold()` and `flavour.casefold_parts()`
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/3cf15c68acba6683a9052736d1f4d8c05db1b7db |
|
0897d9d
Remove `_Flavour`, `_WindowsFlavour` and `_PosixFlavour`
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/0897d9d2b9f79394e63911f39b66158b3e8ddaa1 |
|
4e918e4
Simplify Path construction.
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/4e918e4c4abd57fa3c3da624472b8cbf35935c91 |
|
f0beb66
Move Windows constants to module scope.
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/f0beb661aea0bb0e9464f741409a77c4acb256cf |
|
22942e4
Remove `Path._supported`
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/22942e40a22c399658e5925b0211c942107833c0 |
|
6f9fd60
Move `PurePosixPath._splitroot()`, `is_absolute()` and `is_reserved()…
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26141/commits/6f9fd60d1ce94392ff288e0930150bc37cea7b3d |
|
Clear filters
| https://github.com/python/cpython/pull/26141/files |
| Please reload this page | https://github.com/python/cpython/pull/26141/files |
| Please reload this page | https://github.com/python/cpython/pull/26141/files |
|
pathlib.py
| https://github.com/python/cpython/pull/26141/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
test_pathlib.py
| https://github.com/python/cpython/pull/26141/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
| Please reload this page | https://github.com/python/cpython/pull/26141/files |
|
| 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 |