[issue33106] Deleting a key in a read-only gdbm results in KeyError, not gdbm.error

sds report at bugs.python.org
Fri Jun 8 09:34:19 EDT 2018


sds <sds at gnu.org> added the comment:

I think consistency would be nice -- so, yes, `dbm.dumb.error` instead of `ValueError` (or at least a subtype of `dbm.dumb.error`). 
Thanks!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33106>
_______________________________________


More information about the Python-bugs-list mailing list