[issue13896] shelf doesn't work with 'with'
Zachary Richey
report at bugs.python.org
Sat Jan 28 21:03:27 CET 2012
Zachary Richey <mach1723 at gmail.com> added the comment:
The docs for shelve(see: http://docs.python.org/dev/library/shelve.html#shelve.open) recommend using contextlib.closing for this purpose.
----------
nosy: +zachary r.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13896>
_______________________________________
More information about the Python-bugs-list
mailing list