Skip to content
Snippets Groups Projects
  1. May 31, 2014
  2. May 10, 2014
  3. May 03, 2014
    • 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
  4. Apr 23, 2014
  5. Mar 30, 2014
  6. Mar 29, 2014
    • Paul Sokolovsky's avatar
      vm: Save current active exception on opening new try block. · 0c904df8
      Paul Sokolovsky authored
      Required to reraise correct exceptions in except block, regardless if more
      try blocks with active exceptions happen in the same except block.
      
      P.S. This "automagic reraise" appears to be quite wasteful feature of Python
      - we need to save pending exception just in case it *might* be reraised.
      Instead, programmer could explcitly capture exception to a variable using
      "except ... as var", and reraise that. So, consider disabling argless raise
      support as an optimization.
      0c904df8
  7. Mar 27, 2014
    • Damien George's avatar
      py: Put n_state for bytecode in the bytecode prelude. · bee17b00
      Damien George authored
      Rationale: setting up the stack (state for locals and exceptions) is
      really part of the "code", it's the prelude of the function.  For
      example, native code adjusts the stack pointer on entry to the function.
      Native code doesn't need to know n_state for any other reason.  So
      putting the state size in the bytecode prelude is sensible.
      
      It reduced ROM usage on STM by about 30 bytes :)  And makes it easier to
      pass information about the bytecode between functions.
      bee17b00
  8. Mar 23, 2014
  9. Mar 22, 2014
  10. Feb 15, 2014
  11. Feb 01, 2014
  12. Jan 19, 2014
  13. Jan 18, 2014
  14. Jan 06, 2014
  15. Dec 21, 2013
    • Damien's avatar
      Change object representation from 1 big union to individual structs. · d99b0528
      Damien authored
      A big change.  Micro Python objects are allocated as individual structs
      with the first element being a pointer to the type information (which
      is itself an object).  This scheme follows CPython.  Much more flexible,
      not necessarily slower, uses same heap memory, and can allocate objects
      statically.
      
      Also change name prefix, from py_ to mp_ (mp for Micro Python).
      d99b0528
  16. Dec 11, 2013
  17. Dec 10, 2013
  18. Nov 05, 2013
  19. Oct 16, 2013
  20. Oct 10, 2013
  21. Oct 09, 2013
  22. Oct 05, 2013
  23. Oct 04, 2013
Loading