Skip to content

bpo-32790: Added info about alt format using # for 'g' in chart#6624

Merged
matrixise merged 2 commits into
python:masterfrom
bchhabra2490:fixes-issue32790
Sep 13, 2019
Merged

bpo-32790: Added info about alt format using # for 'g' in chart#6624
matrixise merged 2 commits into
python:masterfrom
bchhabra2490:fixes-issue32790

Conversation

@bchhabra2490

@bchhabra2490 bchhabra2490 commented Apr 28, 2018

Copy link
Copy Markdown
Contributor

Added additional information in the chart for format parameter 'g'. @CuriousLearner

https://bugs.python.org/issue32790

@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 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 the steps outlined in the CPython devguide to rectify this issue.

When your account is ready, please add a comment in this pull request
and a Python core developer will remove the CLA not signed label
to make the bot check again.

Thanks again to your contribution and we look forward to looking at it!

@JulienPalard JulienPalard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the paragraph is too long, especially "The alternate form is defined differently for different types." which is not specific to g, so it can be removed.

Beware, also, that the decimal point is also kept using the alternate form, not only trailing zeros. So I propose to extend the sentence:

In both cases insignificant trailing zeros are removed from the significand, and the decimal point is also removed if there are no remaining digits following it.

by simply adding "unless the # flag is used.".

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

And if you don't make the requested changes, you will be put in the comfy chair!

@miss-islington

Copy link
Copy Markdown
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 13, 2019
…onGH-6624)

(cherry picked from commit d44542f)

Co-authored-by: bchhabra2490 <bchhabra2490@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 13, 2019
…onGH-6624)

(cherry picked from commit d44542f)

Co-authored-by: bchhabra2490 <bchhabra2490@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington added a commit that referenced this pull request Sep 13, 2019
)

(cherry picked from commit d44542f)

Co-authored-by: bchhabra2490 <bchhabra2490@gmail.com>
miss-islington added a commit that referenced this pull request Sep 13, 2019
)

(cherry picked from commit d44542f)

Co-authored-by: bchhabra2490 <bchhabra2490@gmail.com>
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.

7 participants