1. 29 Aug, 2014 1 commit
  2. 27 Aug, 2014 2 commits
  3. 13 Aug, 2014 1 commit
  4. 31 Jul, 2014 1 commit
  5. 24 Jul, 2014 1 commit
  6. 03 Jul, 2014 1 commit
  7. 06 Jun, 2014 1 commit
  8. 01 Jun, 2014 1 commit
    • Damien George's avatar
      Rename bultins config variables to MICROPY_PY_BUILTINS_*. · fb510b3b
      Damien George authored
      This renames:
      MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET
      MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY
      MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE
      MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT
      
      See issue #35 for discussion.
      fb510b3b
  9. 28 May, 2014 3 commits
  10. 21 May, 2014 1 commit
  11. 17 May, 2014 2 commits
  12. 11 May, 2014 1 commit
    • Damien George's avatar
      py: Use mp_arg_check_num in more places. · ee7a880d
      Damien George authored
      Updated functions now do proper checking that n_kw==0, and are simpler
      because they don't have to explicitly raise an exception.  Down side is
      that the error messages no longer include the function name, but that's
      acceptable.
      
      Saves order 300 text bytes on x64 and ARM.
      ee7a880d
  13. 08 May, 2014 1 commit
    • stijn's avatar
      Windows MSVC port · 01d6be4d
      stijn authored
      Extend the windows port so it compiles with the toolchain from Visual Studio 2013
      01d6be4d
  14. 07 May, 2014 1 commit
  15. 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
  16. 02 May, 2014 1 commit
  17. 18 Apr, 2014 2 commits
  18. 17 Apr, 2014 1 commit
  19. 13 Apr, 2014 2 commits
  20. 08 Apr, 2014 2 commits
    • Damien George's avatar
      py: Make it so that printing a small int does not allocate heap memory. · 88d7bba9
      Damien George authored
      With the implementation of proper string formatting, code to print a
      small int was delegated to mpz_as_str_inpl (after first converting the
      small int to an mpz using stack memory).  But mpz_as_str_inpl allocates
      heap memory to do the conversion, so small ints needed heap memory just
      to be printed.
      
      This fix has a separate function to print small ints, which does not
      allocate heap, and allocates less stack.
      
      String formatting, printf and pfenv are now large beasts, with some
      semi-duplicated code.
      88d7bba9
    • Paul Sokolovsky's avatar
      objint: Implement int.from_bytes() class method and .to_bytes() method. · a985b459
      Paul Sokolovsky authored
      These two are apprerently the most concise and efficient way to convert
      int to/from bytes in Python. The alternatives are struct and array modules,
      but methods using them are more verbose in Python code and less efficient
      in memory/cycles.
      a985b459
  21. 07 Apr, 2014 2 commits
  22. 05 Apr, 2014 1 commit
  23. 04 Apr, 2014 1 commit
  24. 02 Apr, 2014 1 commit
  25. 30 Mar, 2014 1 commit
  26. 29 Mar, 2014 1 commit
  27. 22 Mar, 2014 1 commit
  28. 17 Mar, 2014 1 commit
    • xbe's avatar
      py: Clean up includes. · efe34223
      xbe authored
      Remove unnecessary includes. Add includes that improve portability.
      efe34223
  29. 12 Mar, 2014 1 commit
  30. 22 Feb, 2014 3 commits