Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Lib/_pyrepl/simple_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,8 @@ def maybe_run_command(statement: str) -> bool:
except MemoryError:
console.write("\nMemoryError\n")
console.resetbuffer()
except SystemExit:
break
except:
console.showtraceback()
console.resetbuffer()
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Handle uncaught exceptions in the main input loop for the new REPL.
Loading