]> granicus.if.org Git - python/commit
Add support for binary pickles to the shelve module. In some situations
authorSkip Montanaro <skip@pobox.com>
Sun, 8 Dec 2002 18:36:24 +0000 (18:36 +0000)
committerSkip Montanaro <skip@pobox.com>
Sun, 8 Dec 2002 18:36:24 +0000 (18:36 +0000)
commit3bf99e3e876cb367cff34c5b9d659361b5ca9525
tree459649bf36f5bd3ea77d0d382ee9d0571f04cb33
parentea7f75d423342ebab09d1e12e02af6c2bab128ec
Add support for binary pickles to the shelve module.  In some situations
this can result in significantly smaller files.  All classes as well as the
open function now accept an optional binary parameter, which defaults to
False for backward compatibility.  Added a small test suite, updated the
libref documentation (including documenting the exported classes and fixing
a few other nits) and added a note about the change to Misc/NEWS.
Doc/lib/libshelve.tex
Lib/shelve.py
Lib/test/test_shelve.py [new file with mode: 0644]
Misc/NEWS