py: Fix adding of traceback so that it appends to existing info.
This makes exception traceback info self contained (ie doesn't rely on list object, which was a bit of a hack), reduces code size, and reduces RAM footprint of exception by eliminating the list object. Addresses part of issue #1126.
This commit is contained in:
@@ -35,6 +35,4 @@ typedef struct _mp_obj_list_t {
|
||||
mp_obj_t *items;
|
||||
} mp_obj_list_t;
|
||||
|
||||
mp_obj_t mp_obj_new_list_maybe(mp_uint_t n);
|
||||
|
||||
#endif // __MICROPY_INCLUDED_PY_OBJLIST_H__
|
||||
|
||||
Reference in New Issue
Block a user