non-ascii in __doc__ string crashes qtconsole kernel when showing tooltip #767

Closed
jstenar opened this Issue Sep 6, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@jstenar
Member

jstenar commented Sep 6, 2011

If there is a regular str object with non-ascii characers in a doc string. Then the kernel crashes when showing a tooltip for that object. Using master ee9e1d9.

Example run the script in https://gist.github.com/1198484

typing a( at a prompt will show the tooltip

typing b( at a prompt will crash the kernel

@minrk

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Sep 6, 2011

Member

jsonutil.json_clean() inappropriately treats basestring as safe, when bytes objects are most certainly not safe. Should be a tiny fix.

Member

minrk commented Sep 6, 2011

jsonutil.json_clean() inappropriately treats basestring as safe, when bytes objects are most certainly not safe. Should be a tiny fix.

@minrk

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Sep 6, 2011

Member

Fixed by PR #769

Member

minrk commented Sep 6, 2011

Fixed by PR #769

@minrk minrk closed this in 6cc41ec Sep 6, 2011

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment