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 = {}
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to