Skip to content

Add "mode" parameter to shelve.open #113093

@fomcl

Description

@fomcl

Feature or enhancement

Proposal:

When using a file-based shelve it is not currently possible to set the file permissions. It is, however, set to default value 666 in the underlying dbm module. It seems like small, non-breaking change to add a mode parameter (default value: 666) parameter to shelve.open

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions