-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Error in Format Specification Mini-Language concerning precision_with_grouping
in 3.14
#134449
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
Comments
cc @skirpichev This is something we did right? I don't remember the issue/PR |
Yes, it's not accurate, see #125304 (review). I forgot that, lets fix this. @jonathanpoelen, would you like to propose a pr? |
I'll let you do the pr :) |
skirpichev
added a commit
to skirpichev/cpython
that referenced
this issue
May 24, 2025
…scription This amends f39a07b. Thanks to Jonathan Poelen.
PR is ready to review: #134608 |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 2, 2025
…description (pythonGH-134608) This amends commit f39a07b. (cherry picked from commit 7828d52) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
On this page: https://docs.python.org/3.14/library/string.html#grammar-token-format-spec-format_spec
The
precision_with_grouping
syntaxe is wrong, because it accepts.
withoutprecision
orgrouping
. But(The error does not mention grouping either)
The right syntax should be
Linked PRs
precision_with_grouping
in format description #134608precision_with_grouping
in format description (GH-134608) #135015The text was updated successfully, but these errors were encountered: