SIGN IN SIGN UP

gh-132983: Introduce `compression` package and move `_compression` module (GH-133018)

* Introduces `compression` package for https://peps.python.org/pep-0784/

This commit introduces the `compression` package, specified in PEP 784
to re-export the `lzma`, `bz2`, `gzip`, and `zlib` modules. Introduction
of `compression.zstd` will be completed in a future commit once the
`_zstd` module is merged.

This commit also moves the `_compression` private module to
`compression._common._streams`.

* Re-exports existing module docstrings.
E
Emma Smith committed
20be6ba61ac8a0a5d6242701c4186579cfa653f0
Parent: 6d53b75
Committed by GitHub <noreply@github.com> on 4/27/2025, 9:41:30 PM