Skip to content

Improve support for streaming text with .open() #44

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

Closed
jaraco opened this issue Feb 17, 2020 · 0 comments
Closed

Improve support for streaming text with .open() #44

jaraco opened this issue Feb 17, 2020 · 0 comments

Comments

@jaraco
Copy link
Owner

jaraco commented Feb 17, 2020

Currently, zipp.Path defers to zipfile.ZipFile.open for opening a stream to a file in the zipfile. This method does not have support for decoding to text. To improve compatibility with pathlib.Path.open (whose default behavior is to decode to text), zipp should honor b in the mode parameter and honor encoding parameters to open().

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