[issue11491] dbm.open(..., flag="n") raises dbm.error if file exists and is rejected by whichdb

Denver Coneybeare report at bugs.python.org
Mon Mar 14 19:21:03 CET 2011

Denver Coneybeare <denver.coneybeare at gmail.com> added the comment:

Looks good to me.  I thought the same thing about the file not being closed on error, but all of the other tests in the file also suffer from that problem, so I just followed the convention set out by the other tests.  Maybe if you eventually commit this change, you could improve this behavior in the other tests as well.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list