Skip to content

[3.8] bpo-38673: dont switch to ps2 if the line starts with comment or whitespace (GH-17421) #17516

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

Merged
merged 1 commit into from
Dec 9, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 9, 2019

https://bugs.python.org/issue38673
(cherry picked from commit 109fc27)

Co-authored-by: Batuhan Taşkaya [email protected]

https://bugs.python.org/issue38673

@gvanrossum
Copy link
Member

@ambv Is it okay to merge this for 3.8.1?

@miss-islington
Copy link
Contributor Author

@isidentical: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 184a381 into python:3.8 Dec 9, 2019
@miss-islington miss-islington deleted the backport-109fc27-3.8 branch December 9, 2019 04:56
@miss-islington
Copy link
Contributor Author

@isidentical: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@isidentical: Status check is done, and it's a success ✅ .

@ambv
Copy link
Contributor

ambv commented Dec 9, 2019

Yes, this will be in 3.8.1.

@miss-islington
Copy link
Contributor Author

Thanks @miss-islington for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@ned-deily
Copy link
Member

While one could argue about changing the behavior of 3.7.x at this point, this does seem to me to be allowable as a bug fix with a greater chance of preventing confusion than breaking anything. To me, the old behavior suggests that the comment is being continued by the presence of the ... and it's a surprise when you find it's not.

@gvanrossum
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

7 participants