Re: [jupyter] Rich representation of exceptions/tracebacks

2017-11-27 Thread Brian Granger
One further question - do you think there is anything we can do in the meantime in upstream libraries such as Altair so support rich reprs of errors? Sure we could just publish a mimebundle, but then then we can't raise, right? On Mon, Nov 27, 2017 at 11:38 AM, Brian Granger wrote: >> I poked at

Re: [jupyter] Rich representation of exceptions/tracebacks

2017-11-27 Thread Brian Granger
> I poked at it some time ago (sorry no branches), and plan to do refactoring > of IPython's error machinery to improve that. One issue is that the > Traceback fromatter does tokenizing and coloring at the same time (with raw > escape sequences) instead of yielding data structures that can be forma

Re: [jupyter] Rich representation of exceptions/tracebacks

2017-11-26 Thread Matthias Bussonnier
Yes, I poked at it some time ago (sorry no branches), and plan to do refactoring of IPython's error machinery to improve that. One issue is that the Traceback fromatter does tokenizing and coloring at the same time (with raw escape sequences) instead of yielding data structures that can be formatt