1. 20 Jun, 2015 2 commits
    • Bill Owens's avatar
      60ccb41f
    • Damien George's avatar
      py: Use a wrapper to explicitly check self argument of builtin methods. · 06593fb0
      Damien George authored
      Previous to this patch a call such as list.append(1, 2) would lead to a
      seg fault.  This is because list.append is a builtin method and the first
      argument to such methods is always assumed to have the correct type.
      
      Now, when a builtin method is extracted like this it is wrapped in a
      checker object which checks the the type of the first argument before
      calling the builtin function.
      
      This feature is contrelled by MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG and
      is enabled by default.
      
      See issue #1216.
      06593fb0
  2. 19 Jun, 2015 1 commit
  3. 18 Jun, 2015 7 commits
  4. 17 Jun, 2015 2 commits
  5. 16 Jun, 2015 2 commits
  6. 15 Jun, 2015 3 commits
  7. 14 Jun, 2015 1 commit
  8. 13 Jun, 2015 5 commits
  9. 12 Jun, 2015 3 commits
  10. 11 Jun, 2015 3 commits
  11. 10 Jun, 2015 11 commits