Skip to content

gh-113093: add parameter 'mode' in shelve.open#148662

Open
gmcrocetti wants to merge 1 commit intopython:mainfrom
gmcrocetti:gh-113093
Open

gh-113093: add parameter 'mode' in shelve.open#148662
gmcrocetti wants to merge 1 commit intopython:mainfrom
gmcrocetti:gh-113093

Conversation

@gmcrocetti
Copy link
Copy Markdown
Contributor

@gmcrocetti gmcrocetti commented Apr 17, 2026

add parameter 'mode' in shelve.open, letting users control file's type and access permissions

issue #113093


📚 Documentation preview 📚: https://cpython-previews--148662.org.readthedocs.build/

@python-cla-bot
Copy link
Copy Markdown

python-cla-bot Bot commented Apr 17, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@gmcrocetti gmcrocetti force-pushed the gh-113093 branch 4 times, most recently from d3b2b7a to ff64721 Compare April 17, 2026 14:24
@gmcrocetti gmcrocetti marked this pull request as ready for review April 17, 2026 15:02
@gmcrocetti gmcrocetti requested a review from AA-Turner as a code owner April 17, 2026 15:02
@picnixz

This comment has been minimized.

@picnixz
Copy link
Copy Markdown
Member

picnixz commented Apr 19, 2026

Ok nvm the issue is #113093

Comment thread Doc/library/shelve.rst
Comment thread Doc/library/shelve.rst Outdated
Comment thread Doc/library/shelve.rst
Comment thread Doc/whatsnew/3.15.rst
@gmcrocetti
Copy link
Copy Markdown
Contributor Author

Hello @picnixz , thanks for the careful review.
I addresses each one of your comments 💪

Copy link
Copy Markdown
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments (otherwise it looks fine)

Comment thread Doc/whatsnew/3.15.rst
Comment thread Lib/shelve.py Outdated
Comment thread Lib/shelve.py Outdated
Comment thread Lib/test/test_shelve.py Outdated
Comment thread Misc/NEWS.d/next/Library/2026-04-17-10-42-00.gh-issue-113093.KzsNvW.rst Outdated
@gmcrocetti gmcrocetti force-pushed the gh-113093 branch 3 times, most recently from 4b6e542 to 00610aa Compare April 22, 2026 12:43
@gmcrocetti gmcrocetti requested a review from picnixz April 22, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants