[pypy-svn] r40787 - pypy/dist/pypy/module/_pickle_support

arigo at codespeak.net arigo at codespeak.net
Mon Mar 19 18:46:24 CET 2007


Author: arigo
Date: Mon Mar 19 18:46:24 2007
New Revision: 40787

Modified:
   pypy/dist/pypy/module/_pickle_support/maker.py
Log:
Unpickle the correct kind of interpreter-level frame.


Modified: pypy/dist/pypy/module/_pickle_support/maker.py
==============================================================================
--- pypy/dist/pypy/module/_pickle_support/maker.py	(original)
+++ pypy/dist/pypy/module/_pickle_support/maker.py	Mon Mar 19 18:46:24 2007
@@ -61,7 +61,7 @@
     w_pycode, = args_w
     pycode = space.interp_w(PyCode, w_pycode)
     w = space.wrap
-    new_frame = instantiate(PyFrame)
+    new_frame = instantiate(space.FrameClass)   # XXX fish
     return space.wrap(new_frame)
 frame_new.unwrap_spec = [ObjSpace, Arguments]
 



More information about the Pypy-commit mailing list