Skip to content

bpo-38657: Clarify numeric padding behaviour in string formatting#17036

Merged
miss-islington merged 5 commits into
python:masterfrom
JamoBox:bpo-38657
Feb 21, 2020
Merged

bpo-38657: Clarify numeric padding behaviour in string formatting#17036
miss-islington merged 5 commits into
python:masterfrom
JamoBox:bpo-38657

Conversation

@JamoBox
Copy link
Copy Markdown
Contributor

@JamoBox JamoBox commented Nov 3, 2019

Make the definition of the width more explicit that it includes any
extra signs added by other options.

https://bugs.python.org/issue38657

Automerge-Triggered-By: @Mariatta

Make the definition of the width more explicit that it includes any
extra signs added by other options.
@the-knights-who-say-ni
Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@JamoBox

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@brandtbucher
Copy link
Copy Markdown
Member

Thanks for your time @JamoBox, and welcome to CPython! 😎

I assume that you've seen the bot's message about the CLA?

Copy link
Copy Markdown
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have one suggestion, but otherwise this looks good:

Comment thread Doc/library/string.rst Outdated
Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
@JamoBox
Copy link
Copy Markdown
Contributor Author

JamoBox commented Nov 4, 2019

Thanks for your time @JamoBox, and welcome to CPython! 😎

I assume that you've seen the bot's message about the CLA?

I've signed the CLA, although it hasn't updated yet.

@JamoBox
Copy link
Copy Markdown
Contributor Author

JamoBox commented Nov 4, 2019

I have one suggestion, but otherwise this looks good:

Great, that works perfectly. I've added it in, thanks.

@brandtbucher
Copy link
Copy Markdown
Member

Great! Can you re-wrap the line, too?

Signed-off-by: Pete Wicken <petewicken@gmail.com>
Comment thread Python/formatter_unicode.c Outdated
This reverts commit 4996e98.
Signed-off-by: Pete Wicken <petewicken@gmail.com>
Copy link
Copy Markdown
Member

@Mariatta Mariatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@miss-islington miss-islington merged commit 424e568 into python:master Feb 21, 2020
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @JamoBox for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link
Copy Markdown

GH-18587 is a backport of this pull request to the 3.8 branch.

@bedevere-bot
Copy link
Copy Markdown

GH-18588 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 21, 2020
…thonGH-17036)

Make the definition of the width more explicit that it includes any
extra signs added by other options.

https://bugs.python.org/issue38657

Automerge-Triggered-By: @Mariatta
(cherry picked from commit 424e568)

Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Feb 21, 2020
…-17036)

Make the definition of the width more explicit that it includes any
extra signs added by other options.

https://bugs.python.org/issue38657

Automerge-Triggered-By: @Mariatta
(cherry picked from commit 424e568)

Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Feb 21, 2020
…-17036)

Make the definition of the width more explicit that it includes any
extra signs added by other options.

https://bugs.python.org/issue38657

Automerge-Triggered-By: @Mariatta
(cherry picked from commit 424e568)

Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
@brandtbucher
Copy link
Copy Markdown
Member

Congrats on your first CPython contribution @JamoBox! 🍾

Looking forward to seeing more from you in the future.

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

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants