Skip to content


Crash report when importing easter egg #720

scaryclam opened this Issue · 5 comments

3 participants


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:


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

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
IPython member

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

IPython member

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

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
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.