Skip to content


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

jstenar opened this Issue · 2 comments

2 participants

IPython member

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

typing a( at a prompt will show the tooltip

typing b( at a prompt will crash the kernel

IPython member

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

IPython member

Fixed by PR #769

@minrk minrk closed this in 6cc41ec
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue
@minrk minrk Don't treat bytes objects as json-safe
closes gh-767
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.