Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Crash report when importing easter egg #720

Closed
scaryclam opened this Issue · 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
Owner

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
@takluyver
Owner

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

@minrk
Owner

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

@takluyver
Owner

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.