| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:657a2383-0248-9946-fddb-c7a38d8e7aa5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FC6:366DBA:8900DA:B7AEDF:69697A07 |
| html-safe-nonce | b0daaee8a9ced38a6bc227831861989b2ad570633df5acbc1448f15c2892502d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkM2OjM2NkRCQTo4OTAwREE6QjdBRURGOjY5Njk3QTA3IiwidmlzaXRvcl9pZCI6Ijg5MzM2MDIxOTE1NzM4NzUyMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bbc26692f888f1d556c1c12615125d86d41050a403ab48e02a5f38fe675bd083 |
| hovercard-subject-tag | pull_request:1287508839 |
| 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/102953/files |
| twitter:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| og:image:alt | See PEP-706 for details.
I might have overengineered the tests a bit, moving boilerplate to a set of helpers. Hopefully the tests themselves are clear enough to make it worth it.
Issue: gh-102950 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| 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 | 212e3e3d3298bf5b313830edfd2399e869f7ea76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/102953/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102953%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%2F102953%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/102953/files |
| Reload | https://github.com/python/cpython/pull/102953/files |
| Reload | https://github.com/python/cpython/pull/102953/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/102953/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/102953/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 |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:tarfile-dir-traversal-sqsq | https://github.com/encukou/cpython/tree/tarfile-dir-traversal-sqsq |
|
Conversation
91
| https://github.com/python/cpython/pull/102953 |
|
Commits
16
| https://github.com/python/cpython/pull/102953/commits |
|
Checks
0
| https://github.com/python/cpython/pull/102953/checks |
|
Files changed
8
| https://github.com/python/cpython/pull/102953/files |
|
gh-102950: Implement PEP 706 – Filter for tarfile.extractall
| https://github.com/python/cpython/pull/102953/files#top |
|
Show all changes
16 commits
| https://github.com/python/cpython/pull/102953/files |
|
cde089c
Implement PEP 706 – Filter for tarfile.extractall
encukou Jan 31, 2023
| https://github.com/python/cpython/pull/102953/commits/cde089c808a2c21dd311905ba7f1b7e1004c0ada |
|
2395c92
Add a blurb
encukou Mar 23, 2023
| https://github.com/python/cpython/pull/102953/commits/2395c92384b989684f40b0c2fe4acec8987a0791 |
|
561a9d4
Remove unneeded backslashes in docs
encukou Mar 27, 2023
| https://github.com/python/cpython/pull/102953/commits/561a9d4f2cc7b726d06a8b2b7868c1a01d886bf2 |
|
54b5644
Fix typos in docs & comments
encukou Mar 27, 2023
| https://github.com/python/cpython/pull/102953/commits/54b56446f97c8aaf90b66ef4cb7a9d095f751fe2 |
|
7867fc3
Clarify the arguments to register_unpack_format's +function* argument
encukou Mar 27, 2023
| https://github.com/python/cpython/pull/102953/commits/7867fc3116082fb00024b3de9f1d359ee2dd9b47 |
|
734190d
tests: Clean up unused variables and unnecessary f-strings
encukou Mar 27, 2023
| https://github.com/python/cpython/pull/102953/commits/734190dec34c77ac907b90d42005f64271773f44 |
|
d55ae42
Make filter keyword-only in shutil
encukou Apr 6, 2023
| https://github.com/python/cpython/pull/102953/commits/d55ae42cd0aab038717b4b5d9f57acd89613fbff |
|
c795bb3
Address documentation review
encukou Apr 6, 2023
| https://github.com/python/cpython/pull/102953/commits/c795bb3adf88cc8bb39f9badec8b371cf20ec2f4 |
|
5d850cc
Fix ReST syntax
encukou Apr 6, 2023
| https://github.com/python/cpython/pull/102953/commits/5d850cc1872f5948db445bf05bb09ba4aacb07d6 |
|
81e9050
Merge main branch to resolve conflict in Whatsnew
encukou Apr 11, 2023
| https://github.com/python/cpython/pull/102953/commits/81e9050d48f8ec263899f417e74eb71b2ab8bff4 |
|
de11090
Remove typo
encukou Apr 11, 2023
| https://github.com/python/cpython/pull/102953/commits/de1109022188fefe83508ae1e68b2d79ee0efec3 |
|
b0c0674
Improve errorlevel handling
encukou Apr 18, 2023
| https://github.com/python/cpython/pull/102953/commits/b0c0674c5e876958cdab12f8b89c3787825a70a8 |
|
3796fdf
Fix the tests to match the PEP update
encukou Apr 19, 2023
| https://github.com/python/cpython/pull/102953/commits/3796fdfc7c4168c47d655a74234ee0e99a5a8b68 |
|
08ab551
Document type of errorlevel
encukou Apr 19, 2023
| https://github.com/python/cpython/pull/102953/commits/08ab5517e60f232dea3552782aaa838fbc0ebfb3 |
|
0474842
Skip symlink-related test failures on WASI
encukou Apr 20, 2023
| https://github.com/python/cpython/pull/102953/commits/0474842cbba56877557bd825bd987625c1b52e4e |
|
a255634
Ignore unrelated errors in NoneInfoTests_Misc.test_add
encukou Apr 20, 2023
| https://github.com/python/cpython/pull/102953/commits/a2556346edf6fb2df03734f883a637c68121f5bd |
|
Clear filters
| https://github.com/python/cpython/pull/102953/files |
| Please reload this page | https://github.com/python/cpython/pull/102953/files |
| Please reload this page | https://github.com/python/cpython/pull/102953/files |
|
shutil.rst
| https://github.com/python/cpython/pull/102953/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
tarfile.rst
| https://github.com/python/cpython/pull/102953/files#diff-130eff7d2ababf1fb3d3b179e70d48e4c3ad8f7dc32d15a5267fde82a664928c |
|
3.12.rst
| https://github.com/python/cpython/pull/102953/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
shutil.py
| https://github.com/python/cpython/pull/102953/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
tarfile.py
| https://github.com/python/cpython/pull/102953/files#diff-7972dffec6674d5f09410c71766ac6caacb95b9bccbf032061806ae304519c9b |
|
test_shutil.py
| https://github.com/python/cpython/pull/102953/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
test_tarfile.py
| https://github.com/python/cpython/pull/102953/files#diff-5a960e3329582bbb78357c630a282130226d734c1042e491ba2198729a2b6eac |
|
2023-03-23-15-24-38.gh-issue-102953.YR4KaK.rst
| https://github.com/python/cpython/pull/102953/files#diff-fa3247015c8f38dbc89521504416e3c387093db40bdbee13908c1756eba9d814 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L559 |
| Doc/library/shutil.rst | https://github.com/python/cpython/pull/102953/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
View file
| https://github.com/encukou/cpython/blob/a2556346edf6fb2df03734f883a637c68121f5bd/Doc/library/shutil.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/102953/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/102953/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
| Please reload this page | https://github.com/python/cpython/pull/102953/files |
|
| https://github.com/python/cpython/pull/102953/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
| https://github.com/python/cpython/pull/102953/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
| https://github.com/python/cpython/pull/102953/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
| Please reload this page | https://github.com/python/cpython/pull/102953/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 |