You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IOBase defines closed as a property, and the builtin decompressors types for gz and lzma/xz follow this API. It would be great if Zstandard could match that; as it is, when you try to create a TextIOWrapper with a ZstdDecompressionReader, the read fails with "ValueError: I/O operation on closed file.", because the closed method evaluates to True.
The text was updated successfully, but these errors were encountered:
IOBase
definesclosed
as a property, and the builtin decompressors types for gz and lzma/xz follow this API. It would be great if Zstandard could match that; as it is, when you try to create a TextIOWrapper with aZstdDecompressionReader
, the read fails with "ValueError: I/O operation on closed file.", because theclosed
method evaluates toTrue
.The text was updated successfully, but these errors were encountered: