Skip to content

PEP 3118: Clarify format string "unimplemented" note#4952

Closed
seberg wants to merge 1 commit into
python:mainfrom
seberg:pep-3118-note
Closed

PEP 3118: Clarify format string "unimplemented" note#4952
seberg wants to merge 1 commit into
python:mainfrom
seberg:pep-3118-note

Conversation

@seberg
Copy link
Copy Markdown

@seberg seberg commented May 4, 2026

In order to wrap up the discussion around the choice of Zd vs. D a bit, I propose changing the "not implemented" note a bit.

Not sure if it comes quite across, but I think:

  1. There is no good reason to break with any of the "additions" here (I.e. don't use & to mean something different).
  2. Python should feel free to diverge, but I think the note pointing to NumPy (which is "just" an example) hopefully makes it clear that this isn't a void.

In order to wrap up the discussion around the choice of ``Zd`` vs. ``D``
a bit, I propose changing the "not implemented" note a bit.

Not sure if it comes quite across, but I think:
1. There is no good reason to break with any of the "additions" here
   (I.e. don't use `&` to mean something different).
2. Python should feel free to diverge, but I think the note
   pointing to NumPy (which is "just" an example) hopefully makes it
   clear that this isn't a void.
@encukou
Copy link
Copy Markdown
Member

encukou commented May 4, 2026

IMO, this should go in a new PEP.

@read-the-docs-community
Copy link
Copy Markdown

@seberg
Copy link
Copy Markdown
Author

seberg commented May 4, 2026

IMO, this should go in a new PEP.

Happy either way. I just opened it because it was a recurring discussion point that this note made it sounds like there are no strings attached to just using D rather than Zd here. And IMO that is incorrect as things are implemented by downstream and that shouldn't be ignored.

@warsaw
Copy link
Copy Markdown
Member

warsaw commented May 4, 2026

IMO, this should go in a new PEP.

Agreed. At this point probably the only thing that should go into PEP 3118 is a Superseded header once a new PEP sorting all this out is written.

@seberg
Copy link
Copy Markdown
Author

seberg commented May 4, 2026

OK, I'll just close this then if you don't think clarifying this additional note doesn't seem helpful.

@seberg seberg closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants