Skip to content

Replace custom custom mode selection in zstd_open() with zstandard.open() #105

@tomkinsc

Description

@tomkinsc

The python-zstandard library previously lacked an open() method capable of opening zstd files in various modes (read/write binary/text). Such a function now exists, so util/file.py should replace the custom mode selection in zstd_open() with zstandard.open(). We should preserve the zstd_open() function for backward compatibility, and so a custom compressor can be passed in that has been configured to use multiple threads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions