diff options
| author | root <siehputz@gmail.com> | 2020-11-16 10:36:05 -0600 |
|---|---|---|
| committer | root <siehputz@gmail.com> | 2020-11-16 10:36:05 -0600 |
| commit | 0cd951fb73198f5c3dd03ea0463382edac0d3d4d (patch) | |
| tree | 53eb29d32b90dfd65c7c0db718a83cb0a9f0c250 | |
| parent | 3abc671bbdf617dcf87cbd4eda1201c944c05651 (diff) | |
Prevent exceptions from accumulating in REPL
| -rw-r--r-- | py/obj.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -125,6 +125,7 @@ void mp_obj_print_exception(const mp_print_t *print, mp_obj_t exc) { mp_printf(print, decompressed_block, block); } } + mp_obj_exception_clear_traceback(exc); } } mp_obj_print_helper(print, exc, PRINT_EXC); |
