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

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

Merged
merged 1 commit into from Dec 9, 2019

Conversation

miss-islington
Copy link
Contributor

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

…espace (pythonGH-17421)

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

Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
@gvanrossum
Copy link
Member

gvanrossum commented Dec 9, 2019

@ambv Is it okay to merge this for 3.8.1?

@miss-islington
Copy link
Contributor Author

miss-islington commented Dec 9, 2019

@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 Dec 9, 2019
@miss-islington
Copy link
Contributor Author

miss-islington commented Dec 9, 2019

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

1 similar comment
@miss-islington
Copy link
Contributor Author

miss-islington commented Dec 9, 2019

@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

miss-islington commented Dec 9, 2019

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

@ned-deily
Copy link
Member

ned-deily commented Dec 9, 2019

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

gvanrossum commented Dec 9, 2019

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

7 participants