Skip to content
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

Crash report when importing easter egg #720

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

Crash report when importing easter egg #720

scaryclam opened this issue Aug 22, 2011 · 5 comments
Assignees
Labels
Milestone

Comments

@scaryclam
Copy link

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
Copy link
Author

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

@takluyver
Copy link
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.

@ghost ghost assigned takluyver Aug 22, 2011
@takluyver
Copy link
Member

(P.S. backticks format code blocks. Or

` tags.)

@minrk
Copy link
Member

minrk commented Sep 7, 2011

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

@takluyver
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants