[issue21670] Add repr to shelve.Shelf
Serhiy Storchaka
report at bugs.python.org
Tue Jun 24 14:23:58 CEST 2014
Serhiy Storchaka added the comment:
When shelve stores its data on a disk, it is more similar to a file. After all, it can contain gigabytes of data, much larger than Python can address in RAM.
I you want more readable repr, I with Raymond, -- use the repr of the underlying db and add readable repr for dbm objects (including file name and open mode).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21670>
_______________________________________
More information about the Python-bugs-list
mailing list