1. 03 Mar, 2015 1 commit
  2. 27 Feb, 2015 2 commits
    • Paul Sokolovsky's avatar
      objarray: Implement array slice assignment. · cefcbb22
      Paul Sokolovsky authored
      This is rarely used feature which takes enough code to implement, so is
      controlled by MICROPY_PY_ARRAY_SLICE_ASSIGN config setting, default off.
      But otherwise it may be useful, as allows to update arbitrary-sized data
      buffers in-place.
      
      Slice is yet to implement, and actually, slice assignment implemented in
      such a way that RHS of assignment should be array of the exact same item
      typecode as LHS. CPython has it more relaxed, where RHS can be any sequence
      of compatible types (e.g. it's possible to assign list of int's to a
      bytearray slice).
      
      Overall, when all "slice write" features are implemented, it may cost ~1KB
      of code.
      cefcbb22
    • Damien George's avatar
      py: Use m_{new,renew,del} consistently. · 4d77e1a0
      Damien George authored
      This is so all memory requests go through the same interface.
      4d77e1a0
  3. 20 Jan, 2015 1 commit
  4. 04 Jan, 2015 1 commit
  5. 01 Jan, 2015 1 commit
  6. 04 Dec, 2014 1 commit
  7. 30 Nov, 2014 2 commits
  8. 29 Oct, 2014 1 commit
  9. 26 Oct, 2014 1 commit
  10. 23 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
  12. 30 Aug, 2014 3 commits
  13. 29 Aug, 2014 1 commit
  14. 10 Aug, 2014 1 commit
  15. 17 Jul, 2014 1 commit
  16. 03 Jul, 2014 1 commit
  17. 27 Jun, 2014 1 commit
  18. 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
  19. 05 Jun, 2014 1 commit
    • Damien George's avatar
      py: Small changes to objstr.c, including a bug fix. · 11de8399
      Damien George authored
      Some small fixed:
      
      - Combine 'x' and 'X' cases in str format code.
      
      - Remove trailing spaces from some lines.
      
      - Make exception messages consistently begin with lower case (then
      needed to change those in objarray and objtuple so the same
      constant string data could be used).
      
      - Fix bug with exception message having %c instead of %%c.
      11de8399
  20. 01 Jun, 2014 1 commit
  21. 25 May, 2014 2 commits
  22. 21 May, 2014 1 commit
  23. 13 May, 2014 1 commit
  24. 10 May, 2014 1 commit
  25. 03 May, 2014 1 commit
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      Blanket wide to all .c and .h files.  Some files originating from ST are
      difficult to deal with (license wise) so it was left out of those.
      
      Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
      04b9147e
  26. 02 May, 2014 1 commit
  27. 27 Apr, 2014 1 commit
  28. 20 Apr, 2014 1 commit
  29. 19 Apr, 2014 3 commits
  30. 18 Apr, 2014 2 commits
  31. 17 Apr, 2014 2 commits