[pypy-commit] pypy py3k: disable the kwargs dict strategy for now, because we have unicode keywords now
antocuni
noreply at buildbot.pypy.org
Fri Aug 17 21:59:44 CEST 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r56740:edceb69530b3
Date: 2012-08-17 17:47 +0200
http://bitbucket.org/pypy/pypy/changeset/edceb69530b3/
Log: disable the kwargs dict strategy for now, because we have unicode
keywords now
diff --git a/TODO b/TODO
--- a/TODO
+++ b/TODO
@@ -9,4 +9,6 @@
re-enable StdObjSpace.listview_str
+re-enable the kwargs dict strategy in dictmultiobject.py
+
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
@@ -46,10 +46,10 @@
assert w_type is None
strategy = space.fromcache(StringDictStrategy)
- elif kwargs:
- assert w_type is None
- from pypy.objspace.std.kwargsdict import KwargsDictStrategy
- strategy = space.fromcache(KwargsDictStrategy)
+ # elif kwargs:
+ # assert w_type is None
+ # from pypy.objspace.std.kwargsdict import KwargsDictStrategy
+ # strategy = space.fromcache(KwargsDictStrategy)
else:
strategy = space.fromcache(EmptyDictStrategy)
if w_type is None:
More information about the pypy-commit
mailing list