diff options
author | Emma Smith <emma@emmatyping.dev> | 2025-04-27 14:41:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-27 14:41:30 -0700 |
commit | 20be6ba61ac8a0a5d6242701c4186579cfa653f0 (patch) | |
tree | 02120df9300352ba50b86823fdbf74a8cc7424eb /Python | |
parent | 6d53b752831c453da115dd4ce54a0d121d9990cd (diff) | |
download | cpython-20be6ba61ac8a0a5d6242701c4186579cfa653f0.tar.gz cpython-20be6ba61ac8a0a5d6242701c4186579cfa653f0.zip |
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.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/stdlib_module_names.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/stdlib_module_names.h b/Python/stdlib_module_names.h index 26f6272ae9c..fcef7419bd3 100644 --- a/Python/stdlib_module_names.h +++ b/Python/stdlib_module_names.h @@ -24,7 +24,6 @@ static const char* _Py_stdlib_module_names[] = { "_collections_abc", "_colorize", "_compat_pickle", -"_compression", "_contextvars", "_csv", "_ctypes", @@ -128,6 +127,7 @@ static const char* _Py_stdlib_module_names[] = { "collections", "colorsys", "compileall", +"compression", "concurrent", "configparser", "contextlib", |