[pypy-svn] r44187 - pypy/dist/pypy/objspace/flow

fijal at codespeak.net fijal at codespeak.net
Tue Jun 12 19:12:25 CEST 2007


Author: fijal
Date: Tue Jun 12 19:12:24 2007
New Revision: 44187

Modified:
   pypy/dist/pypy/objspace/flow/model.py
Log:
Kill picklesupport in flow objspace


Modified: pypy/dist/pypy/objspace/flow/model.py
==============================================================================
--- pypy/dist/pypy/objspace/flow/model.py	(original)
+++ pypy/dist/pypy/objspace/flow/model.py	Tue Jun 12 19:12:24 2007
@@ -7,7 +7,6 @@
 import py
 from pypy.tool.uid import uid, Hashable
 from pypy.tool.sourcetools import PY_IDENTIFIER, nice_repr_for_func
-from pypy.tool.picklesupport import getstate_with_slots, setstate_with_slots
 
 """
     memory size before and after introduction of __slots__
@@ -174,9 +173,6 @@
     def __repr__(self):
         return "link from %s to %s" % (str(self.prevblock), str(self.target))
 
-    __getstate__ = getstate_with_slots
-    __setstate__ = setstate_with_slots
-
     def show(self):
         from pypy.translator.tool.graphpage import try_show
         try_show(self)
@@ -254,9 +250,6 @@
             exit.prevblock = self
         self.exits = exits
 
-    __getstate__ = getstate_with_slots
-    __setstate__ = setstate_with_slots
-
     def show(self):
         from pypy.translator.tool.graphpage import try_show
         try_show(self)



More information about the Pypy-commit mailing list