Skip to content

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

@jaraco

Description

@jaraco

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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions