mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
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.
This commit is contained in:
parent
6d53b75283
commit
20be6ba61a
12 changed files with 42 additions and 22 deletions
2
Python/stdlib_module_names.h
generated
2
Python/stdlib_module_names.h
generated
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue