[IPython-dev] InputSplitter and SyntaxError
jason-sage at creativetrax.com
Wed Jul 24 22:42:25 EDT 2013
On 7/24/13 4:17 PM, Volker Braun wrote:
> In IPython 0.13.2, if the input_splitter.push() method raises an exception
> then it is not caught, terminating the IPython process. Sage defines a
> special syntax for some mathematical objects and we would like to have a way
> to tell the user about misbalanced brackets, but I don't see how that is
> supposed to work. Is there a way?
> I see that the new IPython 1.0 reworks the input splitter framework so
> perhaps it is fixed, but looking at the github sources I don't see any
> additional catching of exceptions. Though I haven't actually tried with the
> new IPython alpha since Sage still needs some work to use it.
FYI Volker: I posted patches for Sage to work with IPython 1.0 (as of a
few weeks ago, anyway):
More information about the IPython-dev