python / python/cpython

Consider supporting deflate64 in zipfile

Open
#134,334 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

stdlib type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Feature or enhancement

Proposal:

Among the third-party projects that monkeypatch zipfile to support additional compression formats is https://github.com/brianhelba/zipfile-deflate64 with notes at https://en.wikipedia.org/wiki/Deflate#Deflate64,_Enhanced_Deflate about the "proprietary nature"

I wish adding additional formats didn't require monkeypatching, but in the meantime this is one of the ones that files containing it exist in the wild.

@emmatyping

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Python's zipfile implementation and the linked zipfile-deflate64 project, then assess how Deflate64 support could fit without monkeypatching. Confirm the format's licensing and proprietary constraints, and define completion as opening files using Deflate64 compression through zipfile.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.