- 03 May, 2014 1 commit
-
-
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/.
-
- 23 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 30 Mar, 2014 2 commits
-
-
Paul Sokolovsky authored
Iterators and ducktype objects can now be arguments of yield from.
-
Damien George authored
-
- 29 Mar, 2014 1 commit
-
-
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.
-
- 27 Mar, 2014 1 commit
-
-
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.
-
- 23 Mar, 2014 1 commit
-
-
Paul Sokolovsky authored
Based on issues raised during recent review and inconsistency of different implementations.
-
- 22 Mar, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This is required to properly handle exceptions across yields.
-
- 15 Feb, 2014 1 commit
-
-
Damien George authored
Addresses issue #290, and hopefully sets up things to allow generators throwing exceptions, etc.
-
- 01 Feb, 2014 1 commit
-
-
Damien George authored
-
- 19 Jan, 2014 1 commit
-
-
Damien George authored
Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them.
-
- 18 Jan, 2014 1 commit
-
-
Damien George authored
Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
-
- 06 Jan, 2014 2 commits
- 21 Dec, 2013 1 commit
-
-
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).
-
- 11 Dec, 2013 1 commit
-
-
Damien authored
-
- 10 Dec, 2013 1 commit
-
-
Damien authored
-
- 05 Nov, 2013 2 commits
- 16 Oct, 2013 1 commit
-
-
Damien authored
-
- 10 Oct, 2013 1 commit
-
-
Damien authored
-
- 09 Oct, 2013 1 commit
-
-
Damien authored
-
- 05 Oct, 2013 1 commit
-
-
Damien authored
-
- 04 Oct, 2013 1 commit
-
-
Damien authored
-