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.compiler.preprocessor
if it
is set. (#179)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 existing behavior of ignoring extra
data. It will likely default to False
in a future release. Callers desiring
the current behavior are encouraged to explicitly pass
allow_extra_data=True
so behavior won't change during a future upgrade.ZstdDecompressionObj
now has an unused_data
attribute. It will
contain data beyond the fully decoded zstd frame data if said data exists.ZstdDecompressionObj
now has an unconsumed_tail
attribute. This
attribute currently always returns the empty bytes value (b""
).ZstdDecompressionObj
now has an eof
attribute returning whether the
compressed data has been fully read.Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2022-69c1ed52fe
Please login to add feedback.
This update has been submitted for testing by rathann.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update has been submitted for stable by bodhi.
This update's test gating status has been changed to 'failed'.
This update's test gating status has been changed to 'ignored'.
rathann edited this update.
New build(s):
Removed build(s):
Karma has been reset.
This update has been submitted for testing by rathann.
This update has been pushed to testing.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.