[pypy-commit] pypy default: Make Pickler a new-style class.

alex_gaynor noreply at buildbot.pypy.org
Sun Jul 10 01:43:54 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r45443:1b3500a287b9
Date: 2011-07-09 16:37 -0700
http://bitbucket.org/pypy/pypy/changeset/1b3500a287b9/

Log:	Make Pickler a new-style class.

diff --git a/lib-python/modified-2.7/pickle.py b/lib-python/modified-2.7/pickle.py
--- a/lib-python/modified-2.7/pickle.py
+++ b/lib-python/modified-2.7/pickle.py
@@ -168,7 +168,7 @@
 
 # Pickling machinery
 
-class Pickler:
+class Pickler(object):
 
     def __init__(self, file, protocol=None):
         """This takes a file-like object for writing a pickle data stream.


More information about the pypy-commit mailing list