diff options
author | Pierre Bourdon <delroth@gmail.com> | 2024-05-23 02:52:54 +0200 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2024-05-23 02:52:54 +0200 |
commit | d8bc3bfb6d6618f8b6b0669cb5051f85192e5978 (patch) | |
tree | 7173215a8b0f3eb0a314cef71fc690c4fd6c8c81 /misc | |
parent | 06c1375e52926be4455762ece825589fda86c942 (diff) |
repl: do not crash when tab-completing import errors
File not found while importing causes a SysError, not an EvalError,
which is not currently caught by the tab-completion handler. Ignoring
all SysErrors might seem "dangerous" but this is the tab-completion
handler, any exception being bubbled up from there causes unexpected
behavior (causes the whole repl to exit).
Fixes #340.
Change-Id: I643048a47935e77f582decc539d9e51bdb96c890
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions