| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b2fc87c0-41f8-dab3-9bc0-ff4f9209fe9a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EC34:2A6639:678B7C:86F7C1:696B113C |
| html-safe-nonce | bc6fba82a31ccac5fbbcdf4ab2d7109ade76129efd6a7e72bf034c8e77336dfb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzM0OjJBNjYzOTo2NzhCN0M6ODZGN0MxOjY5NkIxMTNDIiwidmlzaXRvcl9pZCI6IjYwMTk1NTg5MTgwOTIxNjU0MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cd89393b93c6d687c8f8d981419dce14847c0b67af9bb4363657d7fd732b9461 |
| hovercard-subject-tag | pull_request:406565229 |
| 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/19632/files |
| twitter:image | https://avatars.githubusercontent.com/u/32038156?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/32038156?s=400&v=4 |
| og:image:alt | Fix a bug where Path takes and ignores **kwargs by adding to PurePath class __init__ method which can take only positional arguments.
Issue: gh-74033
Automerge-Triggered-By: GH:brettcannon |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/19632/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F19632%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%2F19632%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/19632/files |
| Reload | https://github.com/python/cpython/pull/19632/files |
| Reload | https://github.com/python/cpython/pull/19632/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/19632/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/19632/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 |
| miss-islington | https://github.com/miss-islington |
| python:main | https://github.com/python/cpython/tree/main |
| uriyyo:fix-issue-29847 | https://github.com/uriyyo/cpython/tree/fix-issue-29847 |
|
Conversation
33
| https://github.com/python/cpython/pull/19632 |
|
Commits
13
| https://github.com/python/cpython/pull/19632/commits |
|
Checks
0
| https://github.com/python/cpython/pull/19632/checks |
|
Files changed
| https://github.com/python/cpython/pull/19632/files |
| Please reload this page | https://github.com/python/cpython/pull/19632/files |
|
gh-74033: Fix bug when Path takes and ignores **kwargs
| https://github.com/python/cpython/pull/19632/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/19632/files |
|
4228d60
bpo-29847: Fix bug when Path takes and ignores **kwargs
uriyyo Apr 18, 2020
| https://github.com/python/cpython/pull/19632/commits/4228d600f3497122282bcb177b0da749dfaac807 |
|
72ffd24
Update Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
uriyyo Apr 21, 2020
| https://github.com/python/cpython/pull/19632/commits/72ffd2464174752f17e69e4b44f015e53e29f990 |
|
fc740ec
Move tests from PathTest to _BasePathTest class
uriyyo Apr 21, 2020
| https://github.com/python/cpython/pull/19632/commits/fc740ec145fdf25c7e087f6acb99b390cf082fad |
|
7dab30d
Fix bug when PurePath takes and ignores **kwargs
uriyyo May 21, 2020
| https://github.com/python/cpython/pull/19632/commits/7dab30d6e602b0ece4b38980f710ccbdc6ec38b8 |
|
53c4b58
Update Lib/test/test_pathlib.py
uriyyo May 22, 2020
| https://github.com/python/cpython/pull/19632/commits/53c4b586f5dd5fbf9adc6a8f2006b032ac21e3c3 |
|
7bbc2a3
Update Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
uriyyo May 22, 2020
| https://github.com/python/cpython/pull/19632/commits/7bbc2a39d42b195c841977ed01a64d078919fcad |
|
8ef2e9e
Merge branch 'main' into fix-issue-29847
iritkatriel Dec 6, 2022
| https://github.com/python/cpython/pull/19632/commits/8ef2e9e7ccbb103ef4210582474b39bb61d2873e |
|
3311d75
Update Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
uriyyo Dec 17, 2022
| https://github.com/python/cpython/pull/19632/commits/3311d75c3924542fa9d8ab5f12d4016dbc1e4e98 |
|
213940a
Merge remote-tracking branch 'upstream/main' into fix-issue-29847
uriyyo Dec 17, 2022
| https://github.com/python/cpython/pull/19632/commits/213940a31c3da5e762f19e561d107fbe7ae5e5ce |
|
f021d2b
Remove kwargs from pathlib.Path; Remove redundant subclass test
uriyyo Dec 17, 2022
| https://github.com/python/cpython/pull/19632/commits/f021d2b716b1f5af7859fb5e2e7035a03ed3560e |
|
6fa22de
Add deprecation warning when calling Path with **kwargs
uriyyo Dec 24, 2022
| https://github.com/python/cpython/pull/19632/commits/6fa22de33c3563724e232bb1b1fc5ecbb46b8fcd |
|
c654dda
Update Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
brettcannon Jan 13, 2023
| https://github.com/python/cpython/pull/19632/commits/c654ddae2b4dff268c3ddf7dc9a7b5fb462231bb |
|
71f662f
Merge branch 'main' into fix-issue-29847
brettcannon Jan 13, 2023
| https://github.com/python/cpython/pull/19632/commits/71f662f02ef2c137f02833980c42704316ad9d46 |
|
Clear filters
| https://github.com/python/cpython/pull/19632/files |
| Please reload this page | https://github.com/python/cpython/pull/19632/files |
| Please reload this page | https://github.com/python/cpython/pull/19632/files |
|
pathlib.py
| https://github.com/python/cpython/pull/19632/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
test_pathlib.py
| https://github.com/python/cpython/pull/19632/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
| https://github.com/python/cpython/pull/19632/files#diff-b2eef5aec7b06382ed907362843c75f74026903e3c13732d09096d6cce0ee3e3 |
| Lib/pathlib.py | https://github.com/python/cpython/pull/19632/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
View file
| https://github.com/uriyyo/cpython/blob/71f662f02ef2c137f02833980c42704316ad9d46/Lib/pathlib.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/19632/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/19632/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
| https://github.com/python/cpython/pull/19632/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
| Lib/test/test_pathlib.py | https://github.com/python/cpython/pull/19632/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
View file
| https://github.com/uriyyo/cpython/blob/71f662f02ef2c137f02833980c42704316ad9d46/Lib/test/test_pathlib.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/19632/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/19632/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
| https://github.com/python/cpython/pull/19632/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
| Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst | https://github.com/python/cpython/pull/19632/files#diff-b2eef5aec7b06382ed907362843c75f74026903e3c13732d09096d6cce0ee3e3 |
|
View file
| https://github.com/uriyyo/cpython/blob/71f662f02ef2c137f02833980c42704316ad9d46/Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/19632/{{ revealButtonHref }} |
|
| 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 |