[issue21729] Use `with` statement in dbm.dumb

Raymond Hettinger report at bugs.python.org
Thu Jun 12 22:07:33 CEST 2014


Raymond Hettinger added the comment:

Serhiy, after reviewing this, consider backporting it.

The original code doesn't have a try/finally around the close() call and that could be considered a bug.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list