Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-130664: specify how thousands separators are used with 0-padding#131030

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
skirpichev wants to merge7 commits intopython:main
base:main
Choose a base branch
Loading
fromskirpichev:fill-docs/130664

Conversation

@skirpichev
Copy link
Contributor

@skirpichevskirpichev commentedMar 10, 2025
edited by github-actionsbot
Loading

@skirpichevskirpichev added needs backport to 3.12only security fixes needs backport to 3.13bugs and security fixes labelsApr 6, 2025
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@skirpichevskirpichev removed the needs backport to 3.12only security fixes labelApr 8, 2025
@serhiy-storchakaserhiy-storchaka added the needs backport to 3.14bugs and security fixes labelMay 8, 2025
@skirpichevskirpichev requested a review frompicnixzJuly 19, 2025 05:37
(``'0'``) character enables sign-aware zero-padding for numeric types,
excluding:class:`complex`. This is equivalent to a *fill* character of
``'0'`` with an *alignment* type of ``'='``.
``'0'`` with an *alignment* type of ``'='``. If digit group separators of the
Copy link
Member

Choose a reason for hiding this comment

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

I'm a bit surprised that "digit group separator" is mentioned here while we only mention it in the "grouping option" paragraph below. Maybe we should mention it at that place or mention here that this will be introduced below?

Choose a reason for hiding this comment

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

Since the different parts of the format are interconnected, there may be references to options described in details below.

But I think that we should unify wording and avoid repetition of what specifies the grouping option. "If thegrouping option for the integral part is used, a digit group separator is also inserted between leading zeros."

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@serhiy-storchaka, I think that remark was addressed. Is there anything left?

@skirpichev
Copy link
ContributorAuthor

CC@ericvsmith

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

Reviewers

@StanFromIrelandStanFromIrelandAwaiting requested review from StanFromIreland

@serhiy-storchakaserhiy-storchakaAwaiting requested review from serhiy-storchaka

@picnixzpicnixzAwaiting requested review from picnixz

1 more reviewer

@effigieseffigieseffigies approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

awaiting core reviewdocsDocumentation in the Doc dirneeds backport to 3.13bugs and security fixesneeds backport to 3.14bugs and security fixesskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@skirpichev@effigies@serhiy-storchaka@picnixz@StanFromIreland

[8]ページ先頭

©2009-2025 Movatter.jp