]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100414: Make dbm.sqlite3 the preferred dbm backend (#115447)
authorErlend E. Aasland <erlend@python.org>
Wed, 14 Feb 2024 13:47:19 +0000 (14:47 +0100)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2024 13:47:19 +0000 (13:47 +0000)
Doc/whatsnew/3.13.rst
Lib/dbm/__init__.py
Misc/NEWS.d/next/Library/2024-01-23-13-03-22.gh-issue-100414.5kTdU5.rst

index a265bf1734c1d323ca64dd6253d03bdbe82dcae1..b14fb4e5392a2c38bef20b57bf1ddc77163513d3 100644 (file)
@@ -238,7 +238,7 @@ dbm
   from the database.
   (Contributed by Donghee Na in :gh:`107122`.)
 
-* Add new :mod:`dbm.sqlite3` backend.
+* Add new :mod:`dbm.sqlite3` backend, and make it the default :mod:`!dbm` backend.
   (Contributed by Raymond Hettinger and Erlend E. Aasland in :gh:`100414`.)
 
 doctest
index 97c0bb1c9ca946ccf99076355b1613af4f70a391..4fdbc54e74cfb64ffe16263a07840f2a6c932e88 100644 (file)
@@ -38,7 +38,7 @@ import sys
 class error(Exception):
     pass
 
-_names = ['dbm.gnu', 'dbm.ndbm', 'dbm.sqlite3', 'dbm.dumb']
+_names = ['dbm.sqlite3', 'dbm.gnu', 'dbm.ndbm', 'dbm.dumb']
 _defaultmod = None
 _modules = {}
 
index ffcb926a8d546ce7e4bd17e4614ad750dc4efd6f..0f3b3bdd7c6d261f0b16c79ac365c2e793cdbfd4 100644 (file)
@@ -1,2 +1,2 @@
-Add :mod:`dbm.sqlite3` as a backend to :mod:`dbm`.
+Add :mod:`dbm.sqlite3` as a backend to :mod:`dbm`, and make it the new default :mod:`!dbm` backend.
 Patch by Raymond Hettinger and Erlend E. Aasland.