| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This is a tracking issue for implementing PEP 784. See the PEP text for more details.
Since the diff is significant (~10k lines) I wanted to split up the PRs a bit.
| Back | FazBrowse Home | New Git URL |
Activity
picnixz commented on Apr 26, 2025
It's something I should have asked on discourse, but is compression the final name of the public module? I see in the PEP that we want to mimic hashlib.algorithms_guaranteed as well and one way to mitigate the name shadowing is to actually use compressionlib as the name (we have hashlib, annotationlib, and we could have compressionlib as well; I also think compressionlib is a less likely name to be chosen but it's not the best one as well). Feel free to ignore this question as the PEP has been accepted.
emmatyping commented on Apr 26, 2025
Yes, the decision was to use compression. A search of Github code showed that it was used very infrequently. Literally one in a million files https://discuss.python.org/t/pep-784-adding-zstandard-to-the-standard-library/87377/66
gh-132983: Introduce `compression` package and move `_compression` mo…
gh-132983: Install compression package contents (#133063)
pythongh-132983: Convert compression._common to a package
gh-132983: Convert compression._common to a package (#133086)
gh-132983: Introduce `_zstd` bindings module (GH-133027)
AA-Turner commented on May 4, 2025
I've had a go at adding support for building on Windows in #133366, let me know thoughts.
A
Merge remote-tracking branch 'origin/main' into call-len
ned-deily commented on May 5, 2025
It looks like there are a couple of problems with the configure.ac changes to discover and check libzstd.
172 remaining items
[3.14] gh-132983: Use ``Py_UNREACHABLE`` in ``_zstd_load_impl()`` (GH…
pythongh-132983: Minor fixes and clean up for the _zstd module (pytho…
pythongh-132983: Add missing references to Zstandard in shutil docstr…
pythongh-132983: Fix docstrings in ``ZstdDict`` (python#137321)
pythongh-132983: Use ``Py_UNREACHABLE`` in ``_zstd_load_impl()`` (pyt…
[3.14] pythongh-132983: Add missing references to Zstandard in shutil…
[3.14] pythongh-132983: Fix docstrings in ``ZstdDict`` (pythonGH-137321…
[3.14] pythongh-132983: Use ``Py_UNREACHABLE`` in ``_zstd_load_impl()…
pythongh-132983: Add documentation for compression.zstd (pythonGH-133911
pythongh-132983: Refactor shared code in train_dict and finalize_dict (…
pythongh-132983: Fix refleak in zstd dictionary functions (pythongh-1…
pythongh-132983: Slightly tweak error messages for _zstd compressor/d…
pythongh-132983: Make _zstd C code PEP 7 compliant (pythonGH-134605)
pythongh-132983: Convert dict_content to take Py_buffer in ``ZstdDict…
pythongh-132983: Split ``_zstd_set_c_parameters`` (python#133921)