Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.7k
(2.7k)
Actions
Projects
Security and quality
Insights
More
items
bpo-37538: Zipfile refactor
- #14957
#14957
Closed
danifus
wants to merge 29 commits into
python:main
python/cpython:main
from
danifus:zipfile_refactor
danifus/cpython:zipfile_refactor
Copy head branch name to clipboard
Conversation
Commits
29
(29)
Checks
Files changed
Closed
bpo-37538: Zipfile refactor
#14957
danifus
wants to merge 29 commits into
python:main
python/cpython:main
from
danifus:zipfile_refactor
danifus/cpython:zipfile_refactor
Copy head branch name to clipboard
Commits
Commits on Jul 26, 2019
Add descriptive global variables for general purpose bit flags
Show description for a0db1c9
danifus
committed
a0db1c9
View commit details
Copy full SHA for a0db1c9
Browse repository at this point
Add global variable for zip64 extra data header id
danifus
committed
6710baf
View commit details
Copy full SHA for 6710baf
Browse repository at this point
Add flag properties to ZipInfo
Show description for 3777389
danifus
committed
3777389
View commit details
Copy full SHA for 3777389
Browse repository at this point
Restructure how ZipExtFile gets created from ZipFile.open
Show description for f435f08
danifus
committed
f435f08
View commit details
Copy full SHA for f435f08
Browse repository at this point
Fix bug when seeking on encrypted zip files
danifus
committed
ca41137
View commit details
Copy full SHA for ca41137
Browse repository at this point
Refactor _ZipDecrypter with a BaseZipDecrypter class
Show description for 00c87ee
danifus
committed
00c87ee
View commit details
Copy full SHA for 00c87ee
Browse repository at this point
Move compressor and decompressor selection code into classes
Show description for b8364a6
danifus
committed
b8364a6
View commit details
Copy full SHA for b8364a6
Browse repository at this point
Add zipinfo_cls, zipextfile_cls and zipwritefile_cls to ZipFile
Show description for 6b256c0
danifus
committed
6b256c0
View commit details
Copy full SHA for 6b256c0
Browse repository at this point
Fix typo datadescripter -> datadescriptor
danifus
committed
af8864b
View commit details
Copy full SHA for af8864b
Browse repository at this point
Add dosdate and dostime properties to ZipInfo
danifus
committed
42c4be6
View commit details
Copy full SHA for 42c4be6
Browse repository at this point
Move encoding datadescriptor to ZipInfo
danifus
committed
801d966
View commit details
Copy full SHA for 801d966
Browse repository at this point
Refactor how ZipInfo encodes the local file header.
Show description for 46604e0
danifus
committed
46604e0
View commit details
Copy full SHA for 46604e0
Browse repository at this point
Move central directory encoding to ZipInfo
danifus
committed
7d28d8f
View commit details
Copy full SHA for 7d28d8f
Browse repository at this point
Move struct packing of central directory record to a ZipInfo method
danifus
committed
c784d7f
View commit details
Copy full SHA for c784d7f
Browse repository at this point
Refactor _decodeExtra to allow subclasses to support new extra fields
Show description for f84e481
danifus
committed
f84e481
View commit details
Copy full SHA for f84e481
Browse repository at this point
Change the way zipfile _decodeExtra loops through the extra bytes
Show description for 1a07518
danifus
committed
1a07518
View commit details
Copy full SHA for 1a07518
Browse repository at this point
Decouple updating and checking crc when reading a zipfile
Show description for 6de1a9a
danifus
committed
6de1a9a
View commit details
Copy full SHA for 6de1a9a
Browse repository at this point
Move writing zipfile local header to _ZipWriteFile
danifus
committed
6b90dfd
View commit details
Copy full SHA for 6b90dfd
Browse repository at this point
Move writing local header to within _ZipWriteFile
Show description for 4417cc5
danifus
committed
4417cc5
View commit details
Copy full SHA for 4417cc5
Browse repository at this point
Add some comments to zipfile's LZMACompressor
danifus
committed
bfa8a7e
View commit details
Copy full SHA for bfa8a7e
Browse repository at this point
Add comments to ZipFile._write_end_record describing structs
danifus
committed
a211abe
View commit details
Copy full SHA for a211abe
Browse repository at this point
Small performance fix to zipfile.CRCZipDecrypter
Show description for 3eff8be
danifus
committed
3eff8be
View commit details
Copy full SHA for 3eff8be
Browse repository at this point
Refactor ZipFile encoding approach
Show description for 7220ef9
danifus
committed
7220ef9
View commit details
Copy full SHA for 7220ef9
Browse repository at this point
Change ZipInfo encoding of local extra data
Show description for 0a718f7
danifus
committed
0a718f7
View commit details
Copy full SHA for 0a718f7
Browse repository at this point
Allow ZipFile _open_to_write() and _open_to_read() to take kwargs
Show description for cb826d6
danifus
committed
cb826d6
View commit details
Copy full SHA for cb826d6
Browse repository at this point
Change ZipFile._open_to_write() to accept pwd argument.
Show description for 5a88b2d
danifus
committed
5a88b2d
View commit details
Copy full SHA for 5a88b2d
Browse repository at this point
ZipFile remove special case path for ZIP_STORED
Show description for fa374ee
danifus
committed
fa374ee
View commit details
Copy full SHA for fa374ee
Browse repository at this point
📜🤖 Added by blurb_it.
blurb-it[bot]
committed
5bb4c17
View commit details
Copy full SHA for 5bb4c17
Browse repository at this point
Commits on Jul 27, 2019
bpo-37538: Small clean up of zipfile refactor
Show description for 366f79f
danifus
committed
366f79f
View commit details
Copy full SHA for 366f79f
Browse repository at this point
You can’t perform that action at this time.