circuitpython/bare-arm
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block.
To enable parsing constants more efficiently, mp_parse should be allowed
to raise an exception, and mp_compile can already raise a MemoryError.
So these functions need to be protected by an nlr push/pop block.

This patch adds that feature in all places.  This allows to simplify how
mp_parse and mp_compile are called: they now raise an exception if they
have an error and so explicit checking is not needed anymore.
2015-02-07 18:33:58 +00:00
..
Makefile bare-arm: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:14:42 +00:00
main.c py: Protect mp_parse and mp_compile with nlr push/pop block. 2015-02-07 18:33:58 +00:00
mpconfigport.h py: Add config option MICROPY_COMP_MODULE_CONST for module consts. 2015-01-10 14:07:24 +00:00
qstrdefsport.h Add 'bare-arm' port: the bare minimum to get it running on an ARM MCU. 2014-04-12 13:07:45 +01:00
stm32f405.ld Add 'bare-arm' port: the bare minimum to get it running on an ARM MCU. 2014-04-12 13:07:45 +01:00