1. 10 4月, 2018 8 次提交
  2. 05 4月, 2018 3 次提交
  3. 04 4月, 2018 12 次提交
  4. 03 4月, 2018 3 次提交
    • D
      tests/basics: Add test for use of return within try-except. · 430efb04
      Damien George 提交于
      The case of a return statement in the try suite of a try-except statement
      was previously only tested by builtin_compile.py, and only then in the part
      of this test which checked for the existence of the compile builtin.  So
      this patch adds an explicit unit test for this case.
      430efb04
    • D
      py/vm: Optimise handling of stackless mode when pystack is enabled. · bc365213
      Damien George 提交于
      When pystack is enabled mp_obj_fun_bc_prepare_codestate() will always
      return a valid pointer, and if there is no more pystack available then it
      will raise an exception (a RuntimeError).  So having pystack enabled with
      stackless enabled automatically gives strict stackless mode.  There is
      therefore no need to have code for strict stackless mode when pystack is
      enabled, and this patch optimises the VM for such a case.
      bc365213
    • D
      py/vm: Don't do unnecessary updates of ip and sp variables. · c7f880ed
      Damien George 提交于
      Neither the ip nor sp variables are used again after the execution of the
      RAISE_VARARGS opcode, so they don't need to be updated.
      c7f880ed
  5. 30 3月, 2018 3 次提交
  6. 29 3月, 2018 4 次提交
  7. 28 3月, 2018 7 次提交