diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-06 09:21:58 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-06 09:21:58 (GMT) |
commit | 0122ae9ac83afcad234aac80f77f90afabe342ea (patch) | |
tree | d0f671e0007eb5b1a785108aa37db5619b25e44d /Doc/whatsnew | |
parent | 9862b5194d5aa8f788d3fd38a3951d7d25d91352 (diff) | |
download | cpython-0122ae9ac83afcad234aac80f77f90afabe342ea.zip cpython-0122ae9ac83afcad234aac80f77f90afabe342ea.tar.gz cpython-0122ae9ac83afcad234aac80f77f90afabe342ea.tar.bz2 |
Issue #21708: Deprecated dbm.dumb behavior that differs from common dbm
behavior: creating a database in 'r' and 'w' modes and modifying a database
in 'r' mode.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 1550eef..e13800c 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -604,6 +604,11 @@ Deprecated features ``__package__`` are not defined now raises an :exc:`ImportWarning`. (Contributed by Rose Ames in :issue:`25791`.) +* Unlike to other :mod:`dbm` implementations, the :mod:`dbm.dumb` module + creates database in ``'r'`` and ``'w'`` modes if it doesn't exist and + allows modifying database in ``'r'`` mode. This behavior is now deprecated + and will be removed in 3.8. + (Contributed by Serhiy Storchaka in :issue:`21708`.) Deprecated Python behavior -------------------------- |