1. 13 Jun, 2014 1 commit
    • Paul Sokolovsky's avatar
      objstr: Be 8-bit clean even for repr(). · 2ec38a17
      Paul Sokolovsky authored
      This will allow roughly the same behavior as Python3 for non-ASCII strings,
      for example, print("<phrase in non-Latin script>".split()) will print list
      of words, not weird hex dump (like Python2 behaves). (Of course, that it
      will print list of words, if there're "words" in that phrase at all, separated
      by ASCII-compatible whitespace; that surely won't apply to every human
      language in existence).
      2ec38a17
  2. 11 Jun, 2014 1 commit
  3. 07 Jun, 2014 2 commits
  4. 05 Jun, 2014 1 commit
  5. 01 Jun, 2014 2 commits
  6. 28 May, 2014 2 commits
  7. 25 May, 2014 3 commits
  8. 24 May, 2014 3 commits
  9. 21 May, 2014 1 commit
  10. 17 May, 2014 1 commit
  11. 15 May, 2014 1 commit
  12. 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
  13. 10 May, 2014 5 commits
  14. 07 May, 2014 1 commit
  15. 03 May, 2014 2 commits
  16. 01 May, 2014 2 commits
  17. 27 Apr, 2014 2 commits
  18. 26 Apr, 2014 1 commit
  19. 21 Apr, 2014 1 commit
  20. 20 Apr, 2014 1 commit
  21. 19 Apr, 2014 1 commit
  22. 18 Apr, 2014 2 commits
  23. 17 Apr, 2014 2 commits