-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Indentation issue with newline in strings #4563
Comments
Occurs with any strings that contains \. i.e.: 'a\ a', '\', "\", "a\" |
Hopefully, this gets solved quickly as escape characters are very common and incorrect indenting is very frustrating. |
Why was P1 removed? This is an incredibly annoying bug. |
This is indeed amazingly annoying. It looks like it is related to "fixing" indentation for line-continuation backslashes (which, let's face it, are vastly less common than backslashes within strings). This is a duplicate of #4241. |
This issue can be closed since #4241 was fixed and closed. |
I just tested, and yes, it seems fixed. @DonJayamanne mind closing this one? |
Environment data
Expected behaviour
No indentation after
print("\n")
.Actual behaviour & Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: