[issue21708] Deprecate nonstandard behavior of a dumbdbm database

Serhiy Storchaka report at bugs.python.org
Tue Jun 24 12:16:48 CEST 2014


Serhiy Storchaka added the comment:

Thanks Raymond for your attention.

Readonly warnings are emitted only when dumpdbm database opened in read only mode. They will be turned into exceptions in future (3.6 or 3.7). Annoying warnings on changed in future operations is desirable effect.

If you worry about performance hit of such checks, __setitem__ and __delitem__ are expensive operations doing file I/O.

----------

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


More information about the Python-bugs-list mailing list