1. 15 Feb, 2014 3 commits
    • Damien George's avatar
      Implement proper exception type hierarchy. · c5966128
      Damien George authored
      Each built-in exception is now a type, with base type BaseException.
      C exceptions are created by passing a pointer to the exception type to
      make an instance of.  When raising an exception from the VM, an
      instance is created automatically if an exception type is raised (as
      opposed to an exception instance).
      
      Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.
      
      Handling of parse error changed to match new exceptions.
      
      mp_const_type renamed to mp_type_type for consistency.
      c5966128
    • Damien George's avatar
      Change mp_obj_type_t.name from const char * to qstr. · a71c83a1
      Damien George authored
      Ultimately all static strings should be qstr.  This entry in the type
      structure is only used for printing error messages (to tell the type of
      the bad argument), and printing objects that don't supply a .print method.
      a71c83a1
    • Paul Sokolovsky's avatar
      Add testcase for failing namespace switch throwing exception from a module. · 8ac72b9d
      Paul Sokolovsky authored
      Issue #290. This currently fails, to draw attention to the issue.
      8ac72b9d
  2. 14 Feb, 2014 10 commits
  3. 13 Feb, 2014 4 commits
  4. 12 Feb, 2014 8 commits
  5. 11 Feb, 2014 15 commits