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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21708>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to