Skip to content
This repository

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

Closed
jstenar opened this Issue September 06, 2011 · 2 comments

2 participants

Jörgen Stenarson Min RK
Jörgen Stenarson
Collaborator

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

Min RK
Owner

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

Min RK
Owner

Fixed by PR #769

Min RK minrk closed this in 6cc41ec September 06, 2011
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
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.