1. 20 Apr, 2014 1 commit
  2. 17 Apr, 2014 3 commits
  3. 13 Apr, 2014 1 commit
  4. 08 Apr, 2014 1 commit
  5. 05 Apr, 2014 1 commit
    • Damien George's avatar
      py: Replace stream_p with *stream_p in mp_obj_type_t. · 27e735fd
      Damien George authored
      This is to reduce ROM usage.  stream_p is used in file and socket types
      only (at the moment), so seems a good idea to make the protocol
      functions a pointer instead of the actual structure.
      
      It saves 308 bytes of ROM in the stmhal/ port, 928 in unix/.
      27e735fd
  6. 29 Mar, 2014 1 commit
  7. 26 Mar, 2014 1 commit
  8. 15 Feb, 2014 2 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
  9. 08 Feb, 2014 1 commit
    • Paul Sokolovsky's avatar
      Rename "rawsocket" module to "microsocket". · 9945f338
      Paul Sokolovsky authored
      It's no longer intended to provide just "raw" socket interface, may include
      some convenience methods for compatibility with CPython socket - but anyway
      just minimal set required to deal with socket client and servers, not wider
      network functionality.
      9945f338
  10. 04 Feb, 2014 1 commit
  11. 21 Jan, 2014 1 commit