Skip to content

Fix unusable Sage session after a syntax error

Antonio Rojas requested to merge (removed):fix-sage-syntax-error into release/20.12

When we are thrown to the additional input prompt, simply report an error and send an interrupt signal to exit from it.

Do not try to guess what the problem is and fix it: this might be caused by an unmatched opening bracket or closing bracket, in which case we would be stuck in the additional input prompt forever.

BUG: 429078

Merge request reports