| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-06-04 | Fix broken mp_stack_check: force mp_stack_ctrl_init() and mp_stack_usage() ↵ | Dan Halbert | |
| not to be inlined even with -flto | |||
| 2017-02-24 | py: Fix recursion exception. | Scott Shawcroft | |
| 2017-02-24 | Switch exception throwing to mp_raise helpers. It saves a little code space ↵ | Scott Shawcroft | |
| each time to share the call. | |||
| 2016-06-28 | py: Add MP_STATE_THREAD to hold state specific to a given thread. | Damien George | |
| 2016-03-07 | py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value. | Paul Sokolovsky | |
| Useful for embedded targets with fixed stack layout. | |||
| 2015-04-03 | vm: Support strict stackless mode, with proper exception reporting. | Paul Sokolovsky | |
| I.e. in this mode, C stack will never be used to call a Python function, but if there's no free heap for a call, it will be reported as RuntimeError (as expected), not MemoryError. | |||
| 2015-02-15 | stackctrl: Encode "recursion depth exceeded" message as qstr. | Paul Sokolovsky | |
| So corresponding exception can be thrown even under tight memory conditions. | |||
| 2015-01-07 | py: Put all global state together in state structures. | Damien George | |
| This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient. | |||
| 2015-01-01 | py: Move to guarded includes, everywhere in py/ core. | Damien George | |
| Addresses issue #1022. | |||
| 2014-12-10 | py: Fix function type: () -> (void). | Damien George | |
| 2014-08-30 | py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. | Damien George | |
| Part of code cleanup, working towards resolving issue #50. | |||
| 2014-07-01 | stackctrl: Add "mp_" prefix. | Paul Sokolovsky | |
| 2014-06-27 | py: Add portable framework to query/check C stack usage. | Paul Sokolovsky | |
| Such mechanism is important to get stable Python functioning, because Python function calling is handled with C stack. The idea is to sprinkle STACK_CHECK() calls in places where there can be C recursion. TODO: Add more STACK_CHECK()'s. | |||
