Question: PEP 3118 format strings and the buffer protocol

Can you file a documentation issue on github. com/python/cpython to track fixing this?

Okay will do.

What is undocumented exactly? PEP 3118 – Revising the buffer protocol | peps.python.org is quite terse but it still counts as documentation

Well…

  1. by documented I mean documented on docs.python.org. At least a link to the proposal would be good, though an actual explanation would be better. I think the usual standard for being documented isn’t “the information exists in a proposal but docs.python.org does not mention the proposal and contradicts it.”
  2. Meador Inge and others seems to suggest that 3118 is overly vague and in particular leaves it unclear what a grammar for the format strings is implement PEP 3118 struct changes · Issue #47382 · python/cpython · GitHub

Thankfully we can use the Numpy implementation as a reference. I will try to help out with this.

1 Like