Zachary Richey <mach1...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13896> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com