10 Commits
Author SHA1 Message Date
Serhiy StorchakaandClaude Opus 5 a844747b07 gh-117404: Add structured version info for compression modules (GH-150567)
Add constants which provide information about the version of the
compression library used for building the module and the version
actually loaded:

* zlib: ZLIB_VERSION_INFO, zlib_version_info, ZLIBNG_VERSION_INFO,
  and zlib_version as an alias of ZLIB_RUNTIME_VERSION
* bz2: bzlib_version, bzlib_version_info
* lzma: LZMA_VERSION, lzma_version, LZMA_VERSION_INFO, lzma_version_info
* compression.zstd: ZSTD_VERSION, ZSTD_VERSION_INFO

Make compression.zstd.zstd_version_info a named tuple.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-14 10:39:11 +03:00
Javad Koushyar e0293b0de4 Fix two typos in two stdlib docstrings (#153479) 2026-07-20 12:22:08 +02:00
Łukasz ed716551e1 gh-153037: Make ZstdFile.__next__ raise io.UnsupportedOperation on non-readable files (#153045)
Make `ZstdFile.__next__` raise `io.UnsupportedOperation` on non-readable files, consistent with other compression modules.
2026-07-12 19:15:53 -07:00
Serhiy Storchaka 9fceb1c0c5 gh-150285: Fix too long docstrings in the zstd module (GH-150291) 2026-05-24 15:03:22 +03:00
Adam Turner 11f7a939de gh-132983: Split `_zstd_set_c_parameters` (#133921) 2025-05-28 14:45:08 +00:00
Emma SmithandAdam Turner 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
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