diff options
author | Raymond Hettinger <python@rcn.com> | 2009-02-03 04:19:10 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-02-03 04:19:10 (GMT) |
commit | 85602268dc9d57b8965b619dd313868ebe4b9b8f (patch) | |
tree | 2f154eb4bdc4f7d2492491e7ff0e71798cdfca29 /Lib | |
parent | f6e18066be2d8e60ee46b103ebd89124a62fac32 (diff) | |
download | cpython-85602268dc9d57b8965b619dd313868ebe4b9b8f.zip cpython-85602268dc9d57b8965b619dd313868ebe4b9b8f.tar.gz cpython-85602268dc9d57b8965b619dd313868ebe4b9b8f.tar.bz2 |
The default shelve pickle protocol should have been 3.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/shelve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shelve.py b/Lib/shelve.py index cf6dac6..fb2fa93 100644 --- a/Lib/shelve.py +++ b/Lib/shelve.py @@ -84,7 +84,7 @@ class Shelf(collections.MutableMapping): keyencoding="utf-8"): self.dict = dict if protocol is None: - protocol = 2 + protocol = 3 self._protocol = protocol self.writeback = writeback self.cache = {} |