Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tomkinsc opened this issue Jul 16, 2024 · 0 comments
Open

Comments

@tomkinsc
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant