-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Add "mode" parameter to shelve.open #113093
Copy link
Copy link
Open
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-featureA feature request or enhancementA feature request or enhancement
Projects
Status
No status
Feature or enhancement
Proposal:
When using a file-based
shelveit is not currently possible to set the file permissions. It is, however, set to default value 666 in the underlyingdbmmodule. It seems like small, non-breaking change to add amodeparameter (default value: 666) parameter toshelve.openHas this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs