Commits

Philip Jenvey committed e75217d

unnecessary w/ the restored list init special cases

Comments (0)

Files changed (2)

pypy/module/pypyjit/test_pypy_c/model.py

                     yield subchunk
 
     def compute_ids(self, ids):
-        # XXX: valid?
-        if not self.code:
-            return
         #
         # 1. compute the ids of self, i.e. the outer function
         id2opcodes = find_ids(self.code)

pypy/objspace/std/test/test_liststrategies.py

 
         w_set = W_SetObject(self.space)
         _initialize_set(self.space, w_set, w_l)
+        w_set.iter = None # make sure fast path is used
 
         w_l2 = W_ListObject(space, [])
         space.call_method(w_l2, "__init__", w_set)