Skip to content

Allow third party libraries to provide new zipfile compression methods #113767

Open

Description

@gpshead

Feature or enhancement

Proposal:

The zipfile module comes with a few compression methods supported in the standard library. However we never provided a way for new methods to be added by third parties. We should, (a) so that we don't need to add every popular compression method to the stdlib and (b) so that people with more optimal implementations of our existing compressors can use their own implementations instead.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. self-assigned this
    on Jan 6, 2024
  2. ronaldoussoren commented on Jan 6, 2024

    @ronaldoussoren
    Contributor

    See also: #103412, an issue about adding support for reading older zipfile formats (compression methods)

  3. removed their assignment
    on Aug 16, 2024
  4. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Dec 2, 2024
  5. gpshead commented on May 21, 2025

    @gpshead
    MemberAuthor

    chatted with @emmatyping at the pycon US sprint today, she's going to take this on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions