1. CitooZz Banditozz
  2. pypy

Commits

Antonio Cuni  committed edceb69

disable the kwargs dict strategy for now, because we have unicode keywords now

  • Participants
  • Parent commits 0e507c1
  • Branches py3k

Comments (0)

Files changed (2)

File TODO

View file
  • Ignore whitespace
 
 re-enable StdObjSpace.listview_str
 
+re-enable the kwargs dict strategy in dictmultiobject.py
+
 unskip numpypy tests in module/test_lib_pypy/numpypy/

File pypy/objspace/std/dictmultiobject.py

View file
  • Ignore whitespace
             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: