diff options
author | Skip Montanaro <skip@pobox.com> | 2002-12-08 18:36:24 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-12-08 18:36:24 (GMT) |
commit | 3bf99e3e876cb367cff34c5b9d659361b5ca9525 (patch) | |
tree | 459649bf36f5bd3ea77d0d382ee9d0571f04cb33 /Misc/NEWS | |
parent | ea7f75d423342ebab09d1e12e02af6c2bab128ec (diff) | |
download | cpython-3bf99e3e876cb367cff34c5b9d659361b5ca9525.zip cpython-3bf99e3e876cb367cff34c5b9d659361b5ca9525.tar.gz cpython-3bf99e3e876cb367cff34c5b9d659361b5ca9525.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -440,6 +440,10 @@ Library all dictionary methods. This eases the transition to persistent storage for scripts originally written with dictionaries in mind. +- shelve.open and the various classes in shelve.py now accept an optional + binary flag, which defaults to False. If True, the values stored in the + shelf are binary pickles. + - A new package, logging, implements the logging API defined by PEP 282. The code is written by Vinay Sajip. |