Crash report when importing easter egg #720

Closed
scaryclam opened this Issue Aug 22, 2011 · 5 comments

3 participants

@scaryclam

Running the command:

from __future__ import braces

crashes iPython. This isn't exactly a critical issue but I thought you may like to know in case the problem is further reaching.

I thought it was kind of funny that ipython was so disgusted with the idea of braces it couldn't cope :)

The full crash report can be found: http://pastebin.com/A9fghfZA

@scaryclam

Just to note, future has double underscores either side of it but github obviously uses that as markup for bold.

@takluyver
IPython member

Thanks. It is slightly broader - it seems that from __future__ import x causes the problem, where x is anything that's not a valid name. We just need to catch SyntaxError at another point.

@takluyver takluyver was assigned Aug 22, 2011
@takluyver
IPython member

(P.S. backticks ` format code blocks. Or <pre></pre> tags.)

@minrk
IPython member

@takluyver, did you fix this? I don't see a crash in master.

@takluyver
IPython member

Not me. I think it was @fperez, with 1a64b37 (in the drawing room). Anyway, I agree that it's fixed.

@takluyver takluyver closed this Sep 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment