[pypy-commit] pypy py3k: disable view_as_kwargs for now
antocuni
noreply at buildbot.pypy.org
Wed Aug 22 14:24:49 CEST 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r56796:ce7935dd0c8d
Date: 2012-08-22 13:16 +0200
http://bitbucket.org/pypy/pypy/changeset/ce7935dd0c8d/
Log: disable view_as_kwargs for now
diff --git a/TODO b/TODO
--- a/TODO
+++ b/TODO
@@ -10,5 +10,6 @@
re-enable StdObjSpace.listview_str
re-enable the kwargs dict strategy in dictmultiobject.py
+re-enable view_as_kwargs
unskip numpypy tests in module/test_lib_pypy/numpypy/
diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py
--- a/pypy/objspace/std/dictmultiobject.py
+++ b/pypy/objspace/std/dictmultiobject.py
@@ -529,6 +529,7 @@
@jit.look_inside_iff(lambda self, w_dict:
w_dict_unrolling_heuristic(w_dict))
def view_as_kwargs(self, w_dict):
+ return (None, None) # XXX: fix me to return unicode keys
d = self.unerase(w_dict.dstorage)
l = len(d)
keys, values = [None] * l, [None] * l
More information about the pypy-commit
mailing list