Skip to content

Commit bde1c41

Browse files
committed
Revert "Prevent exceptions from accumulating in REPL"
This reverts commit 0cd951f. It is not a correct solution because it prevents printing the same exception twice.
1 parent bd87201 commit bde1c41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

py/obj.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ void mp_obj_print_exception(const mp_print_t *print, mp_obj_t exc) {
125125
mp_printf(print, decompressed_block, block);
126126
}
127127
}
128-
mp_obj_exception_clear_traceback(exc);
129128
}
130129
}
131130
mp_obj_print_helper(print, exc, PRINT_EXC);

0 commit comments

Comments
 (0)