Skip to content
This repository

Crash report when importing easter egg #720

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

3 participants

Becky Lewis Thomas Kluyver Min RK
Becky Lewis

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

Becky Lewis

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

Thomas Kluyver
Collaborator

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.

Thomas Kluyver
Collaborator

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

Min RK
Owner

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

Thomas Kluyver
Collaborator

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

Thomas Kluyver takluyver closed this September 07, 2011
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.