Author: Lukas Diekmann <lukas.diekm...@uni-duesseldorf.de>
Branch: list-strategies
Changeset: r47474:05c02d1ce657
Date: 2011-03-16 13:26 +0100
http://bitbucket.org/pypy/pypy/changeset/05c02d1ce657/

Log:    Need to make a fixed list here

diff --git a/pypy/objspace/std/marshal_impl.py 
b/pypy/objspace/std/marshal_impl.py
--- a/pypy/objspace/std/marshal_impl.py
+++ b/pypy/objspace/std/marshal_impl.py
@@ -300,7 +300,7 @@
 register(TYPE_TUPLE, unmarshal_Tuple)
 
 def marshal_w__List(space, w_list, m):
-    items = w_list.getitems()
+    items = w_list.getitems()[:]
     m.put_tuple_w(TYPE_LIST, items)
 
 def unmarshal_List(space, u, tc):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to