Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[main] Move handling of unexpected exceptions to the top level.
This should fix a bug where Ctrl-C in a sourced file wouldn't exit the interpreter! Similar to #395. Should also fix #398 because the 'except' is now the whole program, including main_loop.Interactive().
- Loading branch information
Andy Chu
committed
Jul 6, 2019
1 parent
08b8b44
commit ae647d4
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters