[pypy-svn] r69440 - pypy/branch/unpackiterable-improvements/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Thu Nov 19 13:57:50 CET 2009
Author: fijal
Date: Thu Nov 19 13:57:50 2009
New Revision: 69440
Modified:
pypy/branch/unpackiterable-improvements/pypy/objspace/std/marshal_impl.py
Log:
fix translation
Modified: pypy/branch/unpackiterable-improvements/pypy/objspace/std/marshal_impl.py
==============================================================================
--- pypy/branch/unpackiterable-improvements/pypy/objspace/std/marshal_impl.py (original)
+++ pypy/branch/unpackiterable-improvements/pypy/objspace/std/marshal_impl.py Thu Nov 19 13:57:50 2009
@@ -469,14 +469,14 @@
def marshal_w_set(space, w_set, m):
# cannot access this list directly, because it's
# type is not exactly known through applevel.
- lis_w = space.unpackiterable(w_set)
+ lis_w = space.fixedview(w_set)
m.put_tuple_w(TYPE_SET, lis_w)
handled_by_any.append( ('set', marshal_w_set) )
# not directly supported:
def marshal_w_frozenset(space, w_frozenset, m):
- lis_w = space.unpackiterable(w_frozenset)
+ lis_w = space.fixedview(w_frozenset)
m.put_tuple_w(TYPE_FROZENSET, lis_w)
handled_by_any.append( ('frozenset', marshal_w_frozenset) )
More information about the Pypy-commit
mailing list