New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with string containing two or more question marks #6689
Comments
Not seeing this in Firefox. |
I see it in FireFox 32.0.3 under OS X. I am using python installed with python 3.4.2. The jQuery string appears in the ipynb file when I use the Save and Checkpoint menu item. If I change the jQuery string to ???? in the ipynb file when it is not open, then open it in the notebook I see s = "????" After I Save and Checkpoint again I see the warning about a syntax error and the jQuery string appears in the ipynb file. |
Can you share one of these notebook ? |
Here is a notebook I created using ipython 2.3.0 http://pastebin.com/iesdxv0Y |
I've tried again with your notebook, and I still don't see the bug (Firefox 32, Python 3.4.2, Linux). Someone with a Mac should try to reproduce this. |
I can reproduce it. It's jQuery's implicit JSONP logic, which is super weird. Fix in #6693. |
If I have a notebook with a code cell containing a string with two or more question marks I see a
SyntaxError: Unexpected token ':'. Parse error.
message in orange near the top of the window and ipython says Autosave Failed!
If I close and halt, then reopen the notebook the ?? in the string is replaced by a string such as jQuery203021335813379846513_1413224722980. So
s = "??"
s = "jQuery20306843485713470727_1413224771225"
s = "????"
->
s = "jQuery20303224137818906456_1413225105052??"
I am seeing this with ipython 3.0.0-dev ddc0593 and the Safari web browser
The text was updated successfully, but these errors were encountered: