[pypy-svn] r62505 - pypy/branch/pyjitpl5/pypy/module/_pickle_support

fijal at codespeak.net fijal at codespeak.net
Wed Mar 4 08:10:55 CET 2009


Author: fijal
Date: Wed Mar  4 08:10:54 2009
New Revision: 62505

Modified:
   pypy/branch/pyjitpl5/pypy/module/_pickle_support/maker.py
Log:
Grrrr. I'm pretty sure we don't want fastlocals_w to be a resizable list


Modified: pypy/branch/pyjitpl5/pypy/module/_pickle_support/maker.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/module/_pickle_support/maker.py	(original)
+++ pypy/branch/pyjitpl5/pypy/module/_pickle_support/maker.py	Wed Mar  4 08:10:54 2009
@@ -105,7 +105,8 @@
 
 def slp_from_tuple_with_nulls(space, w_tup):
     tup_w = space.unpackiterable(w_tup)
-    nulls = space.unpackiterable(tup_w.pop(0))
+    nulls = space.unpackiterable(tup_w[0])
+    tup_w = tup_w[1:]
     for w_p in nulls:
         p = space.int_w(w_p)
         tup_w[p] = None



More information about the Pypy-commit mailing list