[Zope-Checkins] SVN: Zope/trunk/lib/python/ZEO/zrpc/marshal.py Revert rev 27729.

Tim Peters tim.one at comcast.net
Mon Oct 4 12:02:55 EDT 2004


Log message for revision 27737:
  Revert rev 27729.
  
  Changing to pickle protocol 2 has severe backward compatibility
  implications; changes to ZODB should not be made from the Zope
  trunk regardless.
  


Changed:
  U   Zope/trunk/lib/python/ZEO/zrpc/marshal.py


-=-
Modified: Zope/trunk/lib/python/ZEO/zrpc/marshal.py
===================================================================
--- Zope/trunk/lib/python/ZEO/zrpc/marshal.py	2004-10-04 15:34:01 UTC (rev 27736)
+++ Zope/trunk/lib/python/ZEO/zrpc/marshal.py	2004-10-04 16:02:55 UTC (rev 27737)
@@ -25,7 +25,7 @@
     def encode(self, msgid, flags, name, args):
         """Returns an encoded message"""
         # (We used to have a global pickler, but that's not thread-safe. :-( )
-        pickler = cPickle.Pickler(2)
+        pickler = cPickle.Pickler()
         pickler.fast = 1
         return pickler.dump((msgid, flags, name, args), 1)
 



More information about the Zope-Checkins mailing list