Skip to content

A fresh ZipStore cannot be opened with mode r #2450

Open
@d-v-b

Description

@d-v-b

You cannot open a non-existent ZipStore in r mode, because zipfile.ZipFile.__init__ will fail to find the zip file on disk and raise an exception. This is obvious given how files work, but surprising in the context of the other Store classes, which can all be opened in r mode without any IO (I think).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features or improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions