[pypy-svn] r69548 - pypy/branch/stringbuilder/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Mon Nov 23 12:57:56 CET 2009
Author: fijal
Date: Mon Nov 23 12:57:55 2009
New Revision: 69548
Modified:
pypy/branch/stringbuilder/pypy/objspace/std/typetype.py
Log:
unsafe (and pointless?) use of listview
Modified: pypy/branch/stringbuilder/pypy/objspace/std/typetype.py
==============================================================================
--- pypy/branch/stringbuilder/pypy/objspace/std/typetype.py (original)
+++ pypy/branch/stringbuilder/pypy/objspace/std/typetype.py Mon Nov 23 12:57:55 2009
@@ -38,7 +38,7 @@
name = space.str_w(w_name)
assert isinstance(name, str)
dict_w = {}
- dictkeys_w = space.listview(w_dict)
+ dictkeys_w = space.unpackiterable(w_dict)
for w_key in dictkeys_w:
key = space.str_w(w_key)
dict_w[key] = space.getitem(w_dict, w_key)
More information about the Pypy-commit
mailing list