[issue19385] dbm.dumb should be consistent when the database is closed
Serhiy Storchaka
report at bugs.python.org
Thu Oct 31 16:13:47 CET 2013
Serhiy Storchaka added the comment:
Additional checks can slowdown the code. It doesn't matter in some operations, but not on __len__, __contains__, etc. EAFP approach is to catch AttributeError and raise appropriate dbm.dumb.error exception.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19385>
_______________________________________
More information about the Python-bugs-list
mailing list