Raymond Hettinger added the comment: This may not be the right repr for the usual way of creating shelves:
d = shelve.open('tmp.shl') print(repr(d)) # I would expect the repr to show # the underlying db instead of all the # key/value pairs which can be passed # in the constructors ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21670> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com