Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL: make it more reliable against internal errors #36766

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Jul 22, 2020

For example, the following used to simply hang, while now it'll print
the failure and exit cleanly:

$ ./julia -i -e 'using REPL; REPL.run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef) = error("oops")'

For example, the following used to simply hang, while now it'll print
the failure and exit cleanly:

$ ./julia -i -e 'using REPL; REPL.run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef) = error("oops")'
@JeffBezanson JeffBezanson added the stdlib:REPL Julia's REPL (Read Eval Print Loop) label Jul 23, 2020
@JeffBezanson JeffBezanson merged commit ad804f5 into master Jul 23, 2020
@JeffBezanson JeffBezanson deleted the jn/robust-repl branch July 23, 2020 23:27
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
For example, the following used to simply hang, while now it'll print
the failure and exit cleanly:

$ ./julia -i -e 'using REPL; REPL.run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef) = error("oops")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib:REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants