summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtuple.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-10 17:36:41 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-10 17:36:41 +0100
commit1b82e9af5c9b67cae8f7a35abc2dee3989fbdc06 (patch)
tree8f1dd9ece17d60d40d8bd6157fd2a2a01abd082f /py/objtuple.c
parentad6178bb08de66783b4551ebcd444bf06647326a (diff)
downloadmicropython-1b82e9af5c9b67cae8f7a35abc2dee3989fbdc06.tar.gz
micropython-1b82e9af5c9b67cae8f7a35abc2dee3989fbdc06.zip
py: Improve handling of memory error in parser.
Parser shouldn't raise exceptions, so needs to check when memory allocation fails. This patch does that for the initial set up of the parser state. Also, we now put the parser object on the stack. It's small enough to go there instead of on the heap. This partially addresses issue #558.
Diffstat (limited to 'py/objtuple.c')
0 files changed, 0 insertions, 0 deletions