[pypy-svn] r58716 - pypy/branch/2.5-merge/pypy/lib

arigo at codespeak.net arigo at codespeak.net
Tue Oct 7 12:42:48 CEST 2008


Author: arigo
Date: Tue Oct  7 12:42:47 2008
New Revision: 58716

Modified:
   pypy/branch/2.5-merge/pypy/lib/cPickle.py
Log:
The 'bin' argument was removed in pickle.py 2.5.


Modified: pypy/branch/2.5-merge/pypy/lib/cPickle.py
==============================================================================
--- pypy/branch/2.5-merge/pypy/lib/cPickle.py	(original)
+++ pypy/branch/2.5-merge/pypy/lib/cPickle.py	Tue Oct  7 12:42:47 2008
@@ -31,10 +31,10 @@
     def getvalue(self):
         return self.__f and self.__f.getvalue()
 
-def dump(obj, file, protocol=None, bin=None):
-    Pickler(file, protocol, bin).dump(obj)
+def dump(obj, file, protocol=None):
+    Pickler(file, protocol).dump(obj)
 
-def dumps(obj, protocol=None, bin=None):
+def dumps(obj, protocol=None):
     file = StringIO()
-    Pickler(file, protocol, bin).dump(obj)
+    Pickler(file, protocol).dump(obj)
     return file.getvalue()



More information about the Pypy-commit mailing list