1. 12 Aug, 2016 1 commit
  2. 15 Jan, 2016 1 commit
  3. 14 Jan, 2016 1 commit
    • chrysn's avatar
      builtin property: accept keyword arguments · f8ba2eca
      chrysn authored
      this allows python code to use property(lambda:..., doc=...) idiom.
      named versions for the fget, fset and fdel arguments are left out in the
      interest of saving space; they are rarely used and easy to enable when
      actually needed.
      a test case is included.
  4. 11 Jan, 2016 2 commits
    • Damien George's avatar
      py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. · 5b3f0b7f
      Damien George authored
      The first argument to the type.make_new method is naturally a uPy type,
      and all uses of this argument cast it directly to a pointer to a type
      structure.  So it makes sense to just have it a pointer to a type from
      the very beginning (and a const pointer at that).  This patch makes
      such a change, and removes all unnecessary casting to/from mp_obj_t.
    • Damien George's avatar
      py: Change type of .make_new and .call args: mp_uint_t becomes size_t. · a0c97814
      Damien George authored
      This patch changes the type signature of .make_new and .call object method
      slots to use size_t for n_args and n_kw (was mp_uint_t.  Makes code more
      efficient when mp_uint_t is larger than a machine word.  Doesn't affect
      ports when size_t and mp_uint_t have the same size.
  5. 29 Nov, 2015 2 commits
  6. 20 Jan, 2015 1 commit
  7. 01 Jan, 2015 1 commit
  8. 29 Aug, 2014 1 commit
  9. 01 Jun, 2014 1 commit
    • Damien George's avatar
      Rename bultins config variables to MICROPY_PY_BUILTINS_*. · fb510b3b
      Damien George authored
      This renames:
      See issue #35 for discussion.
  10. 24 May, 2014 1 commit
  11. 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
      Saves order 300 text bytes on x64 and ARM.
  12. 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/.
  13. 02 May, 2014 1 commit
  14. 13 Apr, 2014 1 commit