[issue21708] Deprecate nonstandard behavior of a dumbdbm database

R. David Murray report at bugs.python.org
Tue Jun 24 23:03:41 CEST 2014


R. David Murray added the comment:

The point is to make the API consistent.  So if the other dbm modules raise an error when __setitem__/__delitem__ are called on an R/O db, then the warnings are appropriate (but should mention that this will be an error in the future).

The warnings will only be printed once per run of python, unless I'm completely misremembering how deprecation warnings work.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21708>
_______________________________________


More information about the Python-bugs-list mailing list