[issue19385] dbm.dumb should be consistent when the database is closed

Jim Jewett report at bugs.python.org
Wed Apr 23 23:56:52 CEST 2014


Jim Jewett added the comment:

_check_closed sounds like you expect it to be closed, and might even assert that it is closed, except that you want the check run even in release mode and/or it might fail.  Since being closed is actually the unexpectedly broken state, I would prefer that you rename it to something else, like _verify_open.

----------
nosy: +Jim.Jewett

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


More information about the Python-bugs-list mailing list