-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Error evaluating cells with empty lines #2440
Comments
This only happens in our Python Console, not in our IPython one. That's because our Python Console can't handle multiline statements but the IPython ones can. So for now you can use our IPython consoles to keep working :-) @SylvainCorlay, could you take a look at this one? It shouldn't be that hard to solve because this only requires removing blank lines present in a cell before sending it to the console. |
Ok I will fix this sometimes this week.
|
Awesome guys! Thanks a lot |
To solve this correctly we need to create new IEP has something like this functionality already. |
I mean, these functions will avoid the need to evaluate a cell line by line, which is the current approach. This is brittle and prone to fail, as this bug shows. |
@ccordoba12 can you put some pointers here on what to do? file urls etc...? |
Closing because the Python console is going to be removed in Spyder 3.2. Please see issue #4524 for our reasons to do this. |
Hey im having some issues while evaluating cells if there is an empty line just before the else statement. When this occurs, I get an unexpected indentation error.
Now if the blank line before the else is removed, then it works fine.
Can anyone fix this? :)
Greetings!
Juan
The text was updated successfully, but these errors were encountered: