> 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 formatted
> later. This was one of my reason to push Python 3 : to use generators, yield
> and yield-from in this part of the codebase.
> It is still _way_ too messy now, but better than it was a year ago.
OK, that is helpful!
> That's technically, for the overview, I also discussed a bit with Kyle at
> spring dev meeting (and looked at tonic dev). I think that having some "get
> together" with kernels author from multiple languages would be useful. In
> particular I'd like to integrate the discussion about a debugger protocol
> into this as well and/or link from error messages to code cells, which need
> a bit more coordination than "just" mimebundles.
Yeah I could imagine something more structured that mimebundles might
be helpful in this context.
:-) Thanks for the update, glad I wasn't alone in thinking about these things.
Cheers, Brian
> --
> Matthias
>
>
> On Sun, Nov 26, 2017 at 7:04 PM, Brian Granger <
elli...@gmail.com> wrote:
>>
>> Hi all,
>>
>> Has anyone done work on using rich MIME based representations of
>> exceptions and tracebacks in IPython+Jupyter?
>>
>> This nice blog post got me thinking about providing more helpful
>> representations of errors to users:
>>
>>
https://blog.keras.io/user-experience-design-for-apis.html
>>
>> Cheers,
>>
>> Brian
>>
>> --
>> Brian E. Granger
>> Associate Professor of Physics and Data Science
>> Cal Poly State University, San Luis Obispo
>> @ellisonbg on Twitter and GitHub
>>
bgra...@calpoly.edu and
elli...@gmail.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to
jupyter+u...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
jupyter+u...@googlegroups.com.
>
https://groups.google.com/d/msgid/jupyter/CANJQusUvjhb%3DZ1HP93cssJ%3Dzk19%2BK0fqO%3DZnm8P4hVAjchrt6A%40mail.gmail.com.