You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Old] PEP 786: Precision and Modulo-Precision Flag format specifiers for integer fields - #4365
PEP has next available number, & set in filename (pep-NNNN.rst), PR title (PEP 123: <Title of PEP>) and PEP header
Title clearly, accurately and concisely describes the content in 79 characters or less
Core dev/PEP editor listed as Author or Sponsor, and formally confirmed their approval: sponsor pending
Author, Status (Draft), Type and Created headers filled out correctly
PEP-Delegate, Topic, Requires and Replaces headers completed if appropriate
Required sections included
Abstract (first section)
Copyright (last section; exact wording from template required)
Code is well-formatted (PEP 7/PEP 8) and is in code blocks, with the right lexer names if non-Python: everything but 80-column line length, so as to avoid tedious re-aligning during this draft stage
PEP builds with no warnings, pre-commit checks pass and content displays as intended in the rendered HTML
Authors/sponsor added to .github/CODEOWNERS for the PEP: sponsor pending
AA-Turner
changed the title
PEP 791: Precision and Modulo-Precision Flag format specifiers for integer fields [DRAFT][Pending Sponsor]
PEP NNNN: Precision and Modulo-Precision Flag format specifiers for integer fields [DRAFT][Pending Sponsor]
Apr 11, 2025
The reason will be displayed to describe this comment to others. Learn more.
While I didn't see the original Discourse thread, I've definitely been bitten by the # vs field width problem, so I'd be happy to be listed as a PEP sponsor.
hugovk
changed the title
PEP NNNN: Precision and Modulo-Precision Flag format specifiers for integer fields [DRAFT][Pending Sponsor]
PEP NNNN: Precision and Modulo-Precision Flag format specifiers for integer fields [Pending Sponsor]
Apr 11, 2025
hugovk
changed the title
PEP NNNN: Precision and Modulo-Precision Flag format specifiers for integer fields [Pending Sponsor]
PEP 786: Precision and Modulo-Precision Flag format specifiers for integer fields [Pending Sponsor]
Apr 12, 2025
hugovk
changed the title
PEP 786: Precision and Modulo-Precision Flag format specifiers for integer fields [Pending Sponsor]
PEP 786: Precision and Modulo-Precision Flag format specifiers for integer fields
Apr 12, 2025
New PR open here (sorry GitHub doesn't allow the renaming of the source branch for an open PR; I want it to be correct to avoid confusion 791 786).
@ncoghlan
I'd be happy to be listed as a PEP sponsor.
That's brilliant thank you! I wish I'd checked up on this PR earlier: I left it for a bit as I thought I'd have to go e-door to e-door asking around for a sponsor lol 😅 but you'd picked it up the following day!
Last week I was full of a cold so I couldn't have done much then anyways, but now let's get it!
jb2170
changed the title
PEP 786: Precision and Modulo-Precision Flag format specifiers for integer fields
[Old] PEP 786: Precision and Modulo-Precision Flag format specifiers for integer fields
May 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new-pepA new draft PEP submitted for initial review
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft PR for new PEP 791
Sponsor Pending
There is a
TODOsection in the PEP that shall perish as the PEP is tweaked before even considering mergingRelevant discussions, issues, PRs linked
https://discuss.python.org/t/implement-precision-format-spec-for-int-type-data/80760
python/cpython#131926
python/cpython#74756
Basic requirements (all PEP Types)
pep-NNNN.rst), PR title (PEP 123: <Title of PEP>) andPEPheaderAuthororSponsor, and formally confirmed their approval: sponsor pendingAuthor,Status(Draft),TypeandCreatedheaders filled out correctlyPEP-Delegate,Topic,RequiresandReplacesheaders completed if appropriate.github/CODEOWNERSfor the PEP: sponsor pendingStandards Track requirements
Python-Versionset to valid (pre-beta) future Python version, if relevant: pendingDiscussions-ToandPost-History📚 Documentation preview 📚: https://pep-previews--4365.org.readthedocs.build/