Commits

Lars Wassermann committed 3494932

removed tracing on keyboard 's' and 't'

  • Participants
  • Parent commits 9db538b

Comments (0)

Files changed (2)

File spyvm/primitives.py

     # This test deliberately test for equal W_Object class. The Smalltalk classes
     # might be different (e.g. Symbol and ByteString)
     if w_rcvr.__class__ is not w_replacement.__class__:
-        raise PrimitiveFailedError()
+        raise PrimitiveFailedError
     if (w_rcvr.size() - w_rcvr.instsize(interp.space) <= stop
             or w_replacement.size() - w_replacement.instsize(interp.space) <= repStart + (stop - start)):
         raise PrimitiveFailedError()
 @expose_primitive(KBD_NEXT, unwrap_spec=[object])
 def func(interp, s_frame, w_rcvr):
     code = interp.space.get_display().next_keycode()
-    if code == ord('t'):
-        interp.trace = True
-    elif code == ord('s'):
-        interp.trace = False
     if code == 0:
         return interp.space.w_nil
     else:

File spyvm/shadow.py

     #         w_self = self.w_self()
     #         assert isinstance(w_self, model.W_PointersObject)
     #         w_self._shadow = None
-    #         raise error.PrimitiveFailedError
+    #         raise error.PrimitiveFailedError