-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
[email] bpo-29478: Fix passing max_line_length=None from Compat32 policy #595
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
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow these steps to rectify the issue:
Thanks again to your contribution and we look forward to looking at it! |
@mircea-cosbuc, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bitdancer and @rhettinger to be potential reviewers. |
See the issue for a comment (you should add yourself to nosy there). |
95501ba
to
03a9c7a
Compare
Thank you for the feedback. I've completed the CLA signing steps. |
8000
@Mariatta and @bitdancer because there are 2 approvals for this PR, I just back ported the code to 3.5 and 3.6. |
Thanks for the backport PR @matrixise We still need an entry in Misc/NEWS and @mircea-cosbuc should add themselves to Misc/ACKS Thanks. |
@Mariatta once the PR will be completed with the |
@Mariatta Thanks! I've updated ACKS |
@mircea-cosbuc don't forget the |
f83eec1
to
e4fe4d7
Compare
@matrixise I've updated the |
Misc/NEWS
Outdated
@@ -14,6 +14,8 @@ Core and Builtins | |||
|
|||
- bpo-29546: Set the 'path' and 'name' attribute on ImportError for ``from ... import ...``. | |||
|
|||
- bpo-29478: Fix passing max_line_length=None from Compat32 policy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be clearer to say "If max_line_length=None is specified while using the Compat32 policy, it is no longer ignored".
e4fe4d7
to
35d63c1
Compare
Misc/NEWS
Outdated
@@ -14,6 +14,9 @@ Core and Builtins | |||
|
|||
- bpo-29546: Set the 'path' and 'name' attribute on ImportError for ``from ... import ...``. | |||
|
|||
- bpo-29478: If max_line_length=None is specified while using the Compat32 policy, | |||
it is no longer ignored |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a period at the end of the sentence:
Should be:
it is no longer ignored. Patch by Mircea Cosbuc.
@mircea-cosbuc Can you rebase to resolve the conflict? eg. in your
It will show that there's a merge conflict with Misc/NEWS file. There's some info on how to address merge conflict here: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ |
35d63c1
to
0dad0b9
Compare
<
8000
/span>
0dad0b9
to
c742f6e
Compare
@Mariatta @bitdancer Sorry for the delay, I've updated the NEWS description and rebased my branch. |
Thanks :) Will merge once Travis passed. 8000 |
Thanks @mircea-cosbuc and congrats on your first contribution to CPython 🎉 |
@Mariatta can I backport it to 3.5 and 3.6 ? |
@matrixise Sure. Please use the commit hash |
…32 policy (pythonGH-595) If max_line_length=None is specified while using the Compat32 policy, it is no longer ignored.. (cherry picked from commit b459f74)
…32 policy (pythonGH-595) If max_line_length=None is specified while using the Compat32 policy, it is no longer ignored.. (cherry picked from commit b459f74)
This fixes an issue with the
Compat32
email policy where setting themax_line_length
attribute toNone
should prevent line wrapping as specified in the docs.