| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7c75220e-d7a8-09c2-8853-46ce1403bb26 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B46:322E35:2816E57:37A616C:6A4F5503 |
| html-safe-nonce | 8d36940f6797cb3e03aae008b163c6cc7631fc3c5879f04c15bf17a7fda9b986 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjQ2OjMyMkUzNToyODE2RTU3OjM3QTYxNkM6NkE0RjU1MDMiLCJ2aXNpdG9yX2lkIjoiNTEzMzMxMTkxMTQzNDA4MTUzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 458ed3be881618014027059e94055b906df11569c8a2b6f63613de076b5acb03 |
| hovercard-subject-tag | pull_request:167025928 |
| 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/5534/files |
| twitter:image | https://avatars.githubusercontent.com/u/1922815?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1922815?s=400&v=4 |
| og:image:alt | This PR extends the compresslevel support added to zipfile.ZipFile in #5385 to the LZMA compression method. Currently ZIP_DEFLATED and ZIP_BZ2 can be used with compresslevel, but ZIP_LZMA can't... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/5534/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5534%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F5534%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/5534/files |
| Reload | https://github.com/python/cpython/pull/5534/files |
| Reload | https://github.com/python/cpython/pull/5534/files |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| bbayles | https://github.com/bbayles |
| python:master | https://github.com/python/cpython/tree/master |
| bbayles:zipfile-lzma-presets | https://github.com/bbayles/cpython/tree/zipfile-lzma-presets |
|
Conversation
12
| https://github.com/python/cpython/pull/5534 |
|
Commits
11
| https://github.com/python/cpython/pull/5534/commits |
|
Checks
0
| https://github.com/python/cpython/pull/5534/checks |
|
Files changed
| https://github.com/python/cpython/pull/5534/files |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
|
bpo-32728: Add compresslevel support for zipfile and LZMA
| https://github.com/python/cpython/pull/5534/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/5534/files |
|
63a9350
Add compresslevel support for LZMA
bbayles Jan 30, 2018
| https://github.com/python/cpython/pull/5534/commits/63a9350c973816b9fcbfc9671926d488e229acb8 |
|
4ca4ba6
Add NEWS entry
bbayles Feb 4, 2018
| https://github.com/python/cpython/pull/5534/commits/4ca4ba64b7c6df33c2b67800984aca635d921c46 |
|
47d7dbc
Add docs entry for lzma compresslevel
bbayles Feb 4, 2018
| https://github.com/python/cpython/pull/5534/commits/47d7dbc8b1b936796d4c23798dff3670f4414cd0 |
|
c97397a
Merge branch 'master' into zipfile-lzma-presets
bbayles Sep 1, 2018
| https://github.com/python/cpython/pull/5534/commits/c97397a071468780027a2682d95dfaa4e493da1e |
|
3218ba6
Merge remote-tracking branch 'upstream/master' into zipfile-lzma-presets
bbayles Aug 5, 2019
| https://github.com/python/cpython/pull/5534/commits/3218ba6da53b9b176ee350ee2ea45f6d8c5bbd22 |
|
916be26
Merge remote-tracking branch 'upstream/master' into zipfile-lzma-presets
bbayles Aug 5, 2019
| https://github.com/python/cpython/pull/5534/commits/916be2600ca1aaeeaa3db0727dbbb67c5f6a5d4e |
|
37b8945
Update Doc/library/zipfile.rst
bbayles Aug 5, 2019
| https://github.com/python/cpython/pull/5534/commits/37b8945188930f8e825e6bcfb4a07e4d14c92202 |
|
3ed3f24
Update Misc/NEWS.d/next/Library/2018-02-04-13-18-14.bpo-32728.2u0pLO.rst
bbayles Aug 5, 2019
| https://github.com/python/cpython/pull/5534/commits/3ed3f2495d6386f30cd3101059c51b0c997ae734 |
|
b7499b0
Adjust punctuation
bbayles Aug 5, 2019
| https://github.com/python/cpython/pull/5534/commits/b7499b06da2dab7c83edbf1b2174df93c4348a5f |
|
978bf3f
Remove collections import
bbayles Aug 6, 2019
| https://github.com/python/cpython/pull/5534/commits/978bf3feca99e5d54453236b41a4ac0baae36715 |
|
538e956
Prettify dict_size
bbayles Aug 6, 2019
| https://github.com/python/cpython/pull/5534/commits/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc |
|
Clear filters
| https://github.com/python/cpython/pull/5534/files |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
|
zipfile.rst
| https://github.com/python/cpython/pull/5534/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
|
test_zipfile.py
| https://github.com/python/cpython/pull/5534/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
zipfile.py
| https://github.com/python/cpython/pull/5534/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
2018-02-04-13-18-14.bpo-32728.2u0pLO.rst
| https://github.com/python/cpython/pull/5534/files#diff-6076fa9d16f489b670e03043d2a3751cd8d28a35017e1c96aff10a01f508ae5f |
| Doc/library/zipfile.rst | https://github.com/python/cpython/pull/5534/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
|
View file
| https://github.com/bbayles/cpython/blob/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc/Doc/library/zipfile.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5534/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5534/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
|
| https://github.com/python/cpython/pull/5534/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
|
| https://github.com/python/cpython/pull/5534/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
| epicfaace | https://github.com/epicfaace |
| Aug 27, 2019 | https://github.com/python/cpython/pull/5534/files#r317887561 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
|
| https://github.com/python/cpython/pull/5534/files#diff-8a20c37fb313d7b188ae15bb57b351cc2ab73cbdcb6b2aee44cf2f8451768086 |
| Lib/test/test_zipfile.py | https://github.com/python/cpython/pull/5534/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
|
View file
| https://github.com/bbayles/cpython/blob/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc/Lib/test/test_zipfile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5534/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5534/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
| ZackerySpytz | https://github.com/ZackerySpytz |
| Aug 5, 2019 | https://github.com/python/cpython/pull/5534/files#r310813438 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
| bbayles | https://github.com/bbayles |
| Aug 5, 2019 | https://github.com/python/cpython/pull/5534/files#r310828879 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
|
| https://github.com/python/cpython/pull/5534/files#diff-88215aededc3f81c55ba2432fe67617be9fc3faff9cb10e0c01f710adfcba426 |
| Lib/zipfile.py | https://github.com/python/cpython/pull/5534/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
View file
| https://github.com/bbayles/cpython/blob/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc/Lib/zipfile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5534/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5534/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
| ZackerySpytz | https://github.com/ZackerySpytz |
| Aug 5, 2019 | https://github.com/python/cpython/pull/5534/files#r310815088 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
| bbayles | https://github.com/bbayles |
| Aug 5, 2019 | https://github.com/python/cpython/pull/5534/files#r310829138 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/5534/files |
|
| https://github.com/python/cpython/pull/5534/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
| https://github.com/python/cpython/pull/5534/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
|
| https://github.com/python/cpython/pull/5534/files#diff-b5cf7374d79aae191c1e38d0959527e0bbb7a95e0df5b125a8b1056cc2c54851 |
| Misc/NEWS.d/next/Library/2018-02-04-13-18-14.bpo-32728.2u0pLO.rst | https://github.com/python/cpython/pull/5534/files#diff-6076fa9d16f489b670e03043d2a3751cd8d28a35017e1c96aff10a01f508ae5f |
|
View file
| https://github.com/bbayles/cpython/blob/538e9566f2f6fb02a2d4621c34469ad2ee14a0fc/Misc/NEWS.d/next/Library/2018-02-04-13-18-14.bpo-32728.2u0pLO.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5534/{{ 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 |