| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cebafc13-f7e6-0026-22b5-913baf7e42cc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B026:36585F:BB15F5:1038E1F:696A8789 |
| html-safe-nonce | 348cf59871b1320f08da9a676fd79649bbdfadb05a1fc0d50c8087510a6ef4b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDI2OjM2NTg1RjpCQjE1RjU6MTAzOEUxRjo2OTZBODc4OSIsInZpc2l0b3JfaWQiOiI4MTYyNjY0MDI3MzIyNDg0NjE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ac69f95ad27fcbbfddf853299a072bce282e2dbd67eddcb38ce91054f5866fd7 |
| hovercard-subject-tag | pull_request:892194360 |
| 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/32160/files |
| twitter:image | https://avatars.githubusercontent.com/u/18627392?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/18627392?s=400&v=4 |
| og:image:alt | Add ZipFile.mkdir method to create directories inside zip archives.
https://bugs.python.org/issue4833 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| 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 | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/32160/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F32160%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%2F32160%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/32160/files |
| Reload | https://github.com/python/cpython/pull/32160/files |
| Reload | https://github.com/python/cpython/pull/32160/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/32160/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/32160/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 |
| ethanfurman | https://github.com/ethanfurman |
| python:main | https://github.com/python/cpython/tree/main |
| dignissimus:bpo-1590744 | https://github.com/dignissimus/cpython/tree/bpo-1590744 |
|
Conversation
11
| https://github.com/python/cpython/pull/32160 |
|
Commits
8
| https://github.com/python/cpython/pull/32160/commits |
|
Checks
0
| https://github.com/python/cpython/pull/32160/checks |
|
Files changed
| https://github.com/python/cpython/pull/32160/files |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
|
bpo-4833: Add ZipFile.mkdir
| https://github.com/python/cpython/pull/32160/files#top |
|
Show all changes
8 commits
| https://github.com/python/cpython/pull/32160/files |
|
6341b83
Add ZipFile.mkdir
dignissimus Mar 28, 2022
| https://github.com/python/cpython/pull/32160/commits/6341b835b34ecc1af4d5292356d15ee116be5c71 |
|
5c441ad
Add news entry
dignissimus Mar 28, 2022
| https://github.com/python/cpython/pull/32160/commits/5c441ad73d695fc5ad58c2f6774275bfcbcd19cb |
|
cc3c76e
Remove example zip file
dignissimus Mar 28, 2022
| https://github.com/python/cpython/pull/32160/commits/cc3c76eb6845961862fa2aa237ffe52bb798fc7d |
|
1028df2
Allow directory ordering to vary in tests
dignissimus Mar 28, 2022
| https://github.com/python/cpython/pull/32160/commits/1028df20dcc07db2cb4eb576808dd37b62578bf8 |
|
702f0d8
Move version directive to end of block
dignissimus Mar 29, 2022
| https://github.com/python/cpython/pull/32160/commits/702f0d89492af36ba1aae8b66ac32e5acbdaebb5 |
|
4a93d15
Add fille type flag to ZipFile.mkdir, add ZipFIle.write directory tests
dignissimus Apr 1, 2022
| https://github.com/python/cpython/pull/32160/commits/4a93d152313e55819d50c6c1106c735895b70127 |
|
0b4877a
Remove redundant file type mask application
dignissimus Apr 1, 2022
| https://github.com/python/cpython/pull/32160/commits/0b4877a43f1b70c6a17d0f51c739be92bf063730 |
|
0387bfb
Amend new entry
dignissimus Apr 1, 2022
| https://github.com/python/cpython/pull/32160/commits/0387bfb3c8d73432fe49d6eaa4eb90fa1e2e7ef4 |
|
Clear filters
| https://github.com/python/cpython/pull/32160/files |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
|
zipfile.rst
| https://github.com/python/cpython/pull/32160/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
|
test_zipfile.py
| https://github.com/python/cpython/pull/32160/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
zipfile.py
| https://github.com/python/cpython/pull/32160/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
2022-03-28-20-16-37.bpo-4833.2vSUE5.rst
| https://github.com/python/cpython/pull/32160/files#diff-db7e74213c4b75c131d279a8f630b2b2f87790bf4fb6f24a1df30a3d81b7957d |
| Doc/library/zipfile.rst | https://github.com/python/cpython/pull/32160/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
|
View file
| https://github.com/dignissimus/cpython/blob/0387bfb3c8d73432fe49d6eaa4eb90fa1e2e7ef4/Doc/library/zipfile.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/32160/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/32160/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
|
| https://github.com/python/cpython/pull/32160/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
| Lib/test/test_zipfile.py | https://github.com/python/cpython/pull/32160/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
View file
| https://github.com/dignissimus/cpython/blob/0387bfb3c8d73432fe49d6eaa4eb90fa1e2e7ef4/Lib/test/test_zipfile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/32160/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/32160/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
| https://github.com/python/cpython/pull/32160/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
| Lib/zipfile.py | https://github.com/python/cpython/pull/32160/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
View file
| https://github.com/dignissimus/cpython/blob/0387bfb3c8d73432fe49d6eaa4eb90fa1e2e7ef4/Lib/zipfile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/32160/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/32160/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
| https://github.com/python/cpython/pull/32160/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
| ethanfurman | https://github.com/ethanfurman |
| Mar 28, 2022 | https://github.com/python/cpython/pull/32160/files#r836797218 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
| ethanfurman | https://github.com/ethanfurman |
| Mar 30, 2022 | https://github.com/python/cpython/pull/32160/files#r838657652 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
| merwok | https://github.com/merwok |
| Mar 30, 2022 | https://github.com/python/cpython/pull/32160/files#r838756807 |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
| ethanfurman | https://github.com/ethanfurman |
| Mar 30, 2022 | https://github.com/python/cpython/pull/32160/files#r838837558 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @dignissimus | https://github.com/dignissimus |
| Please reload this page | https://github.com/python/cpython/pull/32160/files |
|
| https://github.com/python/cpython/pull/32160/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
| https://github.com/python/cpython/pull/32160/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
| https://github.com/python/cpython/pull/32160/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
| Misc/NEWS.d/next/Library/2022-03-28-20-16-37.bpo-4833.2vSUE5.rst | https://github.com/python/cpython/pull/32160/files#diff-db7e74213c4b75c131d279a8f630b2b2f87790bf4fb6f24a1df30a3d81b7957d |
|
View file
| https://github.com/dignissimus/cpython/blob/0387bfb3c8d73432fe49d6eaa4eb90fa1e2e7ef4/Misc/NEWS.d/next/Library/2022-03-28-20-16-37.bpo-4833.2vSUE5.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/32160/{{ 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 |