mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
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>