circuitpython/unix
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
..
.gitignore unix: Update .gitignore for "fast" and "minimal" builds. 2015-01-16 18:05:31 +00:00
alloc.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
file.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
gccollect.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
input.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
input.h Add input command for unix 2014-05-07 07:19:51 -07:00
main.c py: Protect mp_parse and mp_compile with nlr push/pop block. 2015-02-07 18:33:58 +00:00
Makefile unix: Add "coverage" target to do coverage testing using gcov. 2015-01-29 14:54:38 +00:00
modffi.c modffi: Add .addr() method to just get symbol address. 2015-02-06 00:19:43 +02:00
modos.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modsocket.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
modtermios.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modtime.c py, unix, lib: Allow to compile with -Wold-style-definition. 2015-01-12 22:34:38 +00:00
mpconfigport_fast.h unix: fast: Set initial module dict size big to have high pystone score. 2014-11-05 00:30:21 +02:00
mpconfigport_minimal.h unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
mpconfigport.h py: Add MICROPY_PY_ALL_SPECIAL_METHODS and __iadd__ special method under it. 2015-01-31 00:35:56 +02:00
mpconfigport.mk unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
qstrdefsport.h modffi: Add .addr() method to just get symbol address. 2015-02-06 00:19:43 +02:00