[Python-3000-checkins] r60720 - python/branches/py3k/Lib/shelve.py
raymond.hettinger
python-3000-checkins at python.org
Sun Feb 10 21:41:56 CET 2008
Author: raymond.hettinger
Date: Sun Feb 10 21:41:56 2008
New Revision: 60720
Modified:
python/branches/py3k/Lib/shelve.py
Log:
The new default protocol is two.
Modified: python/branches/py3k/Lib/shelve.py
==============================================================================
--- python/branches/py3k/Lib/shelve.py (original)
+++ python/branches/py3k/Lib/shelve.py Sun Feb 10 21:41:56 2008
@@ -75,7 +75,7 @@
keyencoding="utf-8"):
self.dict = dict
if protocol is None:
- protocol = 0
+ protocol = 2
self._protocol = protocol
self.writeback = writeback
self.cache = {}
More information about the Python-3000-checkins
mailing list