8000 gh-66234: Add flag to disable the use of mmap in dbm.gnu by serhiy-storchaka · Pull Request #135005 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-66234: Add flag to disable the use of mmap in dbm.gnu #135005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 2, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into dbm-gdbm-nommap
  • Loading branch information
serhiy-storchaka committed Jun 1, 2025
commit cc920c05e6635c786eb2ba186b291b0bb54e9a20
4 changes: 4 additions & 0 deletions Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ Improved modules
dbm
---

* Added new :meth:`!reorganize` methods to :mod:`dbm.dumb` and :mod:`dbm.sqlite3`
which allow to recover unused free space previously occupied by deleted entries.
(Contributed by Andrea Oliveri in :gh:`134004`.)

* Add the ``'m'`` flag for :func:`dbm.gnu.open` which allows to disable
the use of :manpage:`mmap(2)`.
This may harm performance, but improve crash tolerance.
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0