summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-02-05 20:47:31 (GMT)
committerGitHub <noreply@github.com>2018-02-05 20:47:31 (GMT)
commit6c85efa5a66d7b254aa22a39d47f36c040d7a04e (patch)
tree9f9c5f626364ac0b1a768a27a694c4ae0b4e6e6b /Doc/whatsnew
parentc309bcfb9fb295e70a235c461d9edcaa54c821d0 (diff)
downloadcpython-6c85efa5a66d7b254aa22a39d47f36c040d7a04e.zip
cpython-6c85efa5a66d7b254aa22a39d47f36c040d7a04e.tar.gz
cpython-6c85efa5a66d7b254aa22a39d47f36c040d7a04e.tar.bz2
bpo-32749: Make dbm.dumb databases more cosistent with other dbm databases. (#5497)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index c4063ad..60f54a0 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -130,3 +130,8 @@ Changes in the Python API
arguments for changing the selection was deprecated in Python 3.6. Use
specialized methods like :meth:`~tkinter.ttk.Treeview.selection_set` for
changing the selection. (Contributed by Serhiy Storchaka in :issue:`31508`.)
+
+* A :mod:`dbm.dumb` database opened with flags ``'r'`` is now read-only.
+ :func:`dbm.dumb.open` with flags ``'r'`` and ``'w'`` no longer creates
+ a database if it does not exist.
+ (Contributed by Serhiy Storchaka in :issue:`32749`.)