1. 17 May, 2014 1 commit
  2. 15 May, 2014 1 commit
  3. 11 May, 2014 2 commits
    • Damien George's avatar
      py: Rename globally-accessible tuple functions, prefix with mp_obj_. · 2323ef91
      Damien George authored
      Likely there are other functions that should be renamed, but this is a
      start.
      2323ef91
    • Paul Sokolovsky's avatar
      objtuple: Go out of the way to support comparison of subclasses. · ea970809
      Paul Sokolovsky authored
      Two things are handled here: allow to compare native subtypes of tuple,
      e.g. namedtuple (TODO: should compare type too, currently compared
      duck-typedly by content). Secondly, allow user sunclasses of tuples
      (and its subtypes) be compared either. "Magic" I did previously in
      objtype.c covers only one argument (lhs is many), so we're in trouble
      when lhs is native type - there's no other option besides handling
      rhs in special manner. Fortunately, this patch outlines approach with
      fast path for native types.
      ea970809
  4. 10 May, 2014 5 commits
  5. 07 May, 2014 1 commit
  6. 03 May, 2014 2 commits
  7. 01 May, 2014 2 commits
  8. 27 Apr, 2014 2 commits
  9. 26 Apr, 2014 1 commit
  10. 21 Apr, 2014 1 commit
  11. 20 Apr, 2014 1 commit
  12. 19 Apr, 2014 1 commit
  13. 18 Apr, 2014 2 commits
  14. 17 Apr, 2014 4 commits
  15. 13 Apr, 2014 2 commits
  16. 12 Apr, 2014 1 commit
  17. 11 Apr, 2014 3 commits
  18. 10 Apr, 2014 1 commit
  19. 09 Apr, 2014 1 commit
  20. 08 Apr, 2014 5 commits
  21. 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