-
Notifications
You must be signed in to change notification settings - Fork 334
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
Syntax Error: EOF while scanning triple-quoted string literal #541
Comments
I've been having this problem too, and it affects other multi-line statements. In all of the following examples, I have the cursor at the beginning of the first line and push For example, the following causes an error:
Error message:
It works if I indent the closing parenthesis, like this:
Same for triple quoted blocks. This triple quoted block evaluates just fine:
It seems like Hydrogen is detecting multi-line statements based on indentation only, not parentheses or triple quotes. |
From #77
For now this needs to be fixed in Atom's |
I am getting this error while running following code: :(
|
@mohitv789 You have a random
|
@kylebarron Thanks! |
i am getting this error with this code: pilha=[] ((())(i=0 |
Before version 1.3.0, in Python source, this was parsed as a multi-line comment and skipped over:
Now an error is reported on every new line in the comment.
It looks like it doesn't treat the entire triple-quoted string as a block.
The text was updated successfully, but these errors were encountered: