| 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:99900f1a-da1c-abdb-209c-ff4a163edea0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EA9A:1E6D3F:4F17F:6A9C4:696961B8 |
| html-safe-nonce | 77a2c90a444e44faa5cbd287cb118ebdd33b6c743899a8c6cfdb044ba4e724e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTlBOjFFNkQzRjo0RjE3Rjo2QTlDNDo2OTY5NjFCOCIsInZpc2l0b3JfaWQiOiI1ODA3Njg3NDM0MDU2MDY1NDY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e46045621d3301542e5b197a5db5609e5c8d319e24c4bdfa7c8cbe76fa71c8c2 |
| hovercard-subject-tag | pull_request:469930819 |
| 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/21920/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ba67e95793dfca99e0452e295e97d525de8614963c4776109413e1fed0c8fdb4/python/cpython/pull/21920 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba67e95793dfca99e0452e295e97d525de8614963c4776109413e1fed0c8fdb4/python/cpython/pull/21920 |
| og:image:alt | Several pathlib.Path and pathlib.PurePath return new Path and PurePath objects. A subclass of one of those classes returns objects that are instances of the subclass, but the subclass's new() ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | websurfer5 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1 |
| 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 | 669463fcc54773a88c1f5a44eef6b99a5504b9c7 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/21920#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21920 |
| 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%2F21920 |
|
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/21920 |
| Reload | https://github.com/python/cpython/pull/21920 |
| Reload | https://github.com/python/cpython/pull/21920 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/21920 |
|
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/21920 |
|
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/21920#issue-comment-box |
| websurfer5 | https://github.com/websurfer5 |
| python:main | https://github.com/python/cpython/tree/main |
| websurfer5:fix-issue-41109 | https://github.com/websurfer5/cpython/tree/fix-issue-41109 |
|
bpo-41109: subclasses of pathlib.Path and pathlib.PurePath now call the subclass's __init__() and __new__() functions when returning new objects
| https://github.com/python/cpython/pull/21920#top |
| websurfer5 | https://github.com/websurfer5 |
| python:main | https://github.com/python/cpython/tree/main |
| websurfer5:fix-issue-41109 | https://github.com/websurfer5/cpython/tree/fix-issue-41109 |
|
Conversation
2
| https://github.com/python/cpython/pull/21920 |
|
Commits
22
| https://github.com/python/cpython/pull/21920/commits |
|
Checks
0
| https://github.com/python/cpython/pull/21920/checks |
|
Files changed
| https://github.com/python/cpython/pull/21920/files |
| Please reload this page | https://github.com/python/cpython/pull/21920 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/websurfer5 |
| websurfer5 | https://github.com/websurfer5 |
| Aug 19, 2020 | https://github.com/python/cpython/pull/21920#issue-681558650 |
| Please reload this page | https://github.com/python/cpython/pull/21920 |
| https://bugs.python.org/issue41109 | https://bugs.python.org/issue41109 |
| Please reload this page | https://github.com/python/cpython/pull/21920 |
| websurfer5 | https://github.com/websurfer5 |
| August 16, 2020 15:24 | https://github.com/python/cpython/pull/21920#commits-pushed-081cbc2 |
|
| https://github.com/websurfer5 |
| bpo-41109: separate object creation by Path and PurePath member varia… | https://github.com/python/cpython/pull/21920/commits/081cbc25153e54ecbc260ab8b5c218564b7ec585 |
| 081cbc2 | https://github.com/python/cpython/pull/21920/commits/081cbc25153e54ecbc260ab8b5c218564b7ec585 |
|
| https://github.com/websurfer5 |
| bpo-41109: Windows PurePath tests | https://github.com/python/cpython/pull/21920/commits/0e4d53e0c879dab51904f010af8d2789d6e6ac96 |
| 0e4d53e | https://github.com/python/cpython/pull/21920/commits/0e4d53e0c879dab51904f010af8d2789d6e6ac96 |
|
| https://github.com/websurfer5 |
| bpo-41109: use correct class in PureWindowsSubclassNewAndInitTest | https://github.com/python/cpython/pull/21920/commits/53643f48541615f9c9c51af386df1495c2dd1108 |
| 53643f4 | https://github.com/python/cpython/pull/21920/commits/53643f48541615f9c9c51af386df1495c2dd1108 |
|
| https://github.com/websurfer5 |
| bpo-41109: fix comment | https://github.com/python/cpython/pull/21920/commits/c418958c9a2843dc785705a957b5739eeff3be50 |
| c418958 | https://github.com/python/cpython/pull/21920/commits/c418958c9a2843dc785705a957b5739eeff3be50 |
|
| https://github.com/websurfer5 |
| bpo-41109: fix class names and comments | https://github.com/python/cpython/pull/21920/commits/34683c42664d2f46f712a7e81a66fc9ae704b470 |
| 34683c4 | https://github.com/python/cpython/pull/21920/commits/34683c42664d2f46f712a7e81a66fc9ae704b470 |
|
| https://github.com/websurfer5 |
| bpo-41109: WindowsPath test suite | https://github.com/python/cpython/pull/21920/commits/19e0a405b9be3022b4be40120558f518895ddcf0 |
| 19e0a40 | https://github.com/python/cpython/pull/21920/commits/19e0a405b9be3022b4be40120558f518895ddcf0 |
|
| https://github.com/websurfer5 |
| bpo-41109: add __init__() to Path and PurePath | https://github.com/python/cpython/pull/21920/commits/1853c6da52cebb99554245f1ab14140492360175 |
| 1853c6d | https://github.com/python/cpython/pull/21920/commits/1853c6da52cebb99554245f1ab14140492360175 |
|
| https://github.com/websurfer5 |
| bpo-41109: remove extraneous **kwargs parameter from Path.__init__() | https://github.com/python/cpython/pull/21920/commits/17c141cb946418adcc70ee19e8d7e8129126cfaa |
| 17c141c | https://github.com/python/cpython/pull/21920/commits/17c141cb946418adcc70ee19e8d7e8129126cfaa |
|
| https://github.com/websurfer5 |
| bpo-41109: remove extraneous whitespace | https://github.com/python/cpython/pull/21920/commits/505cab0da17b6e426d09397d91b6d661b5410e96 |
| 505cab0 | https://github.com/python/cpython/pull/21920/commits/505cab0da17b6e426d09397d91b6d661b5410e96 |
|
| https://github.com/websurfer5 |
| bpo-41109: remove double-initialization in Path.__new__() | https://github.com/python/cpython/pull/21920/commits/c47bf06c53cf334a0978ba7bdddd4edb29bd1f5f |
| c47bf06 | https://github.com/python/cpython/pull/21920/commits/c47bf06c53cf334a0978ba7bdddd4edb29bd1f5f |
|
| https://github.com/websurfer5 |
| bpo-41109: no longer need to call _init() from PurePath.__init__() | https://github.com/python/cpython/pull/21920/commits/6607e77b68d9cc047608198d4b25bdbf7935e5ca |
| 6607e77 | https://github.com/python/cpython/pull/21920/commits/6607e77b68d9cc047608198d4b25bdbf7935e5ca |
|
| https://github.com/websurfer5 |
| bpo-41109: reorganize tests using a common base class for common tests | https://github.com/python/cpython/pull/21920/commits/cf6afb073b6b5691838167ce9e3dbf8fbb32e996 |
| cf6afb0 | https://github.com/python/cpython/pull/21920/commits/cf6afb073b6b5691838167ce9e3dbf8fbb32e996 |
|
| https://github.com/websurfer5 |
| bpo-41109: fix readlink test for Windows | https://github.com/python/cpython/pull/21920/commits/d25fdd75359ad269b03c08d0b2a15dae134c3bfa |
| d25fdd7 | https://github.com/python/cpython/pull/21920/commits/d25fdd75359ad269b03c08d0b2a15dae134c3bfa |
|
| https://github.com/websurfer5 |
| bpo-41109: cleanup test_resolve | https://github.com/python/cpython/pull/21920/commits/4be7b7a104503345f7c37f83d1929d5ca54d3aa1 |
| 4be7b7a | https://github.com/python/cpython/pull/21920/commits/4be7b7a104503345f7c37f83d1929d5ca54d3aa1 |
|
| https://github.com/websurfer5 |
| bpo-41109: cleanup test_glob | https://github.com/python/cpython/pull/21920/commits/1660fa69e223d616dbe29713f14a8ba449fbe44a |
| 1660fa6 | https://github.com/python/cpython/pull/21920/commits/1660fa69e223d616dbe29713f14a8ba449fbe44a |
|
| https://github.com/websurfer5 |
| bpo-41109: test all initialization cases | https://github.com/python/cpython/pull/21920/commits/2a270163e3267d45183aeb8f263c041de738bc17 |
| 2a27016 | https://github.com/python/cpython/pull/21920/commits/2a270163e3267d45183aeb8f263c041de738bc17 |
|
| https://github.com/websurfer5 |
| bpo-41109: news blurb | https://github.com/python/cpython/pull/21920/commits/4014a16c24c2de889c935aafcd0dd7df21d27f5e |
| 4014a16 | https://github.com/python/cpython/pull/21920/commits/4014a16c24c2de889c935aafcd0dd7df21d27f5e |
|
| https://github.com/websurfer5 |
| bpo-41109: What's New entry and better news blurb | https://github.com/python/cpython/pull/21920/commits/31b449e21f178da06e1fc7f85464b5daba098be5 |
| 31b449e | https://github.com/python/cpython/pull/21920/commits/31b449e21f178da06e1fc7f85464b5daba098be5 |
|
| https://github.com/websurfer5 |
| bpo-4119: Merge branch 'master' of github.com:python/cpython into fix… | https://github.com/python/cpython/pull/21920/commits/ebc8371f8294b307c256fca912b79f9865823320 |
| ebc8371 | https://github.com/python/cpython/pull/21920/commits/ebc8371f8294b307c256fca912b79f9865823320 |
|
| https://github.com/websurfer5 |
| bpo-41109: improve What's New and News entries | https://github.com/python/cpython/pull/21920/commits/86bb25b1d029fcd83c3ea5d7560410ad1d2f3a7e |
| 86bb25b | https://github.com/python/cpython/pull/21920/commits/86bb25b1d029fcd83c3ea5d7560410ad1d2f3a7e |
|
| https://github.com/websurfer5 |
| bpo-41109: simplify _new_from_parts() and _new_from_parsed_parts() in… | https://github.com/python/cpython/pull/21920/commits/b2c62a6ce67744ac016ef93439864ebec9779281 |
| b2c62a6 | https://github.com/python/cpython/pull/21920/commits/b2c62a6ce67744ac016ef93439864ebec9779281 |
| 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 |
| Aug 19, 2020 | https://github.com/python/cpython/pull/21920#event-3669126501 |
| 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 |
| Aug 19, 2020 | https://github.com/python/cpython/pull/21920#event-3669126570 |
|
| https://github.com/websurfer5 |
| Merge branch 'master' of github.com:python/cpython into fix-issue-41109 | https://github.com/python/cpython/pull/21920/commits/6f363b9e04a18b1c891939b44db42f4413c5b8fb |
| 6f363b9 | https://github.com/python/cpython/pull/21920/commits/6f363b9e04a18b1c891939b44db42f4413c5b8fb |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
|
topic-pathlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib |
| Jun 21, 2022 | https://github.com/python/cpython/pull/21920#event-6849698172 |
| https://github.com/python/cpython/pull/21920 |
| conchylicultor | https://github.com/python/cpython/pull/21920 |
|
Jun 21, 2022
| https://github.com/python/cpython/pull/21920#ref-issue-1199039411 |
|
subclasses of pathlib.PurePosixPath never call __init__ or __new__
#85281
| https://github.com/python/cpython/issues/85281 |
| https://github.com/ezio-melotti |
| ezio-melotti | https://github.com/ezio-melotti |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Jul 13, 2022 | https://github.com/python/cpython/pull/21920#event-6988865032 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
| Apr 3, 2023 | https://github.com/python/cpython/pull/21920#issuecomment-1494863925 |
| @barneygale | https://github.com/barneygale |
| #102789 | https://github.com/python/cpython/pull/102789 |
| Please reload this page | https://github.com/python/cpython/pull/21920 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Apr 3, 2023 | https://github.com/python/cpython/pull/21920#issuecomment-1494892425 |
| @barneygale | https://github.com/barneygale |
| #102789 | https://github.com/python/cpython/pull/102789 |
| @websurfer5 | https://github.com/websurfer5 |
| Please reload this page | https://github.com/python/cpython/pull/21920 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Apr 3, 2023 | https://github.com/python/cpython/pull/21920#event-8916853768 |
| 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%2F21920 |
|
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 page | https://github.com/python/cpython/pull/21920 |
|
| https://github.com/websurfer5 |
|
| https://github.com/terryjreedy |
|
| https://github.com/barneygale |
|
| 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 |
| 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 |