[issue19385] dbm.dumb should be consistent when the database is closed
Claudiu.Popa
report at bugs.python.org
Tue May 13 14:10:23 CEST 2014
Claudiu.Popa added the comment:
Here's a new patch which uses the EAFP approach for dunder methods (__len__, __contains__ etc) and the _verify_open method for the other methods (.keys, .iterkeys) etc. Now the results are similar with the benchmark without the patch.
----------
Added file: http://bugs.python.org/file35241/issue19385_speed.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19385>
_______________________________________
More information about the Python-bugs-list
mailing list