Overview

Request 1036857 accepted

- Update to 0.19.0
Bug fixes
* The C backend implementation of
ZstdDecompressionObj.decompress() could have raised an
assertion in cases where the function was called multiple times
on an instance. In non-debug builds, calls to this method could
have leaked memory.
Changes
* PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.
* Anaconda 3.6 support dropped.
* Official support for Python 3.11. This did not require
meaningful code changes and previous release(s) likely worked
with 3.11 without any changes. CFFI's build system now respects
distutils's compiler.preprocessor if it is set.
gh#indygreg/python-zstandard#179
* The internal logic of ZstdDecompressionObj.decompress() was
refactored. This may have fixed unconfirmed issues where
unused_data was set prematurely. The new logic will also avoid
an extra call to ZSTD_decompressStream() in some scenarios,
possibly improving performance.
* ZstdDecompressor.decompress() how has a read_across_frames
keyword argument. It defaults to False. True is not yet
implemented and will raise an exception if used. The new
argument will default to True in a future release and is
provided now so callers can start passing
read_across_frames=False to preserve the existing functionality
during a future upgrade.
* ZstdDecompressor.decompress() now has an allow_extra_data
keyword argument to control whether an exception is raised if
input contains extra data. It defaults to True, preserving

Request History
Mia Herkt's avatar

mia created request

- Update to 0.19.0
Bug fixes
* The C backend implementation of
ZstdDecompressionObj.decompress() could have raised an
assertion in cases where the function was called multiple times
on an instance. In non-debug builds, calls to this method could
have leaked memory.
Changes
* PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.
* Anaconda 3.6 support dropped.
* Official support for Python 3.11. This did not require
meaningful code changes and previous release(s) likely worked
with 3.11 without any changes. CFFI's build system now respects
distutils's compiler.preprocessor if it is set.
gh#indygreg/python-zstandard#179
* The internal logic of ZstdDecompressionObj.decompress() was
refactored. This may have fixed unconfirmed issues where
unused_data was set prematurely. The new logic will also avoid
an extra call to ZSTD_decompressStream() in some scenarios,
possibly improving performance.
* ZstdDecompressor.decompress() how has a read_across_frames
keyword argument. It defaults to False. True is not yet
implemented and will raise an exception if used. The new
argument will default to True in a future release and is
provided now so callers can start passing
read_across_frames=False to preserve the existing functionality
during a future upgrade.
* ZstdDecompressor.decompress() now has an allow_extra_data
keyword argument to control whether an exception is raised if
input contains extra data. It defaults to True, preserving


Dirk Mueller's avatar

dirkmueller accepted request

openSUSE Build Service is sponsored by