Closed
Description
Explicitly creating ZstdCompressor
object with dict_data=None
argument throws TypeError
.
I don't think it makes sense to throw this error given that the default value is None
.
Python 3.8 with python-zstandard 0.15.2.
[ins] In [1]: import zstandard as zstd
[ins] In [2]: zstd.ZstdCompressor(dict_data=None)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-69c06918fcac> in <module>
----> 1 zstd.ZstdCompressor(dict_data=None)
TypeError: ZstdCompressor() argument 2 must be zstd.ZstdCompressionDict, not None
Metadata
Metadata
Assignees
Labels
No labels