Commit Graph

8 Commits

Author SHA1 Message Date
Adam Turner 11f7a939de
gh-132983: Split ``_zstd_set_c_parameters`` (#133921) 2025-05-28 14:45:08 +00:00
Emma Smith b44c824856
gh-132983: Style improvements for `compression.zstd` (#133547)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-05-14 12:08:27 +00:00
Rogdham 50b5370664
gh-132983: Don't allow trailer data in ZstdFile (#133736) 2025-05-10 03:32:22 +01:00
Adam Turner 1978904a2f
GH-132983: PEP 7 and Argument Clinic changes for zstd (#133791) 2025-05-10 00:33:45 +00:00
Adam Turner c2a5d4b383
gh-132983: Clean-ups for ``_zstd`` (#133670) 2025-05-09 15:08:51 +01:00
Emma Smith c273f59fb3
gh-132983: Add the `compression.zstd` pacakge and tests (#133365)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Rogdham <contact@rogdham.net>
2025-05-06 01:38:08 +01:00
Victor Stinner fe8ad53443
gh-132983: Convert compression._common to a package (#133086)
Add an "__init__.py" file. Fix test_tools.test_freeze.
2025-04-28 14:13:06 +00:00
Emma Smith 20be6ba61a
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.
2025-04-27 14:41:30 -07:00