-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Py_buffer.format declaration inconsistent with the docs #119467
Comments
Hello! |
I'd like to - may take a while... |
adiaholic
added a commit
to adiaholic/cpython
that referenced
this issue
May 23, 2024
This commit addresses the inconsistency between the Py_buffer.format declaration and its documentation as reported in issue python#119467. The documentation previously stated `const char *` for the format field, which has been corrected to `char *` to match the actual code declaration. Additionally, a spelling mistake in the documentation has been corrected to enhance clarity and accuracy. References: - Issue: python#119467
I have pushed a fix for this inconsistency. It would be great if @Eclips4 could review the changes and confirm if this resolves the issue. Feedback is highly appreciated! |
adiaholic
added a commit
to adiaholic/cpython
that referenced
this issue
May 23, 2024
This commit addresses the inconsistency between the Py_buffer.format declaration and its documentation as reported in issue python#119467. The documentation previously stated `const char *` for the format field, which has been corrected to `char *` to match the actual code declaration. Additionally, a spelling mistake in the documentation has been corrected to enhance clarity and accuracy. References: - Issue: python#119467
kumaraditya303
pushed a commit
that referenced
this issue
May 27, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 27, 2024
…typo (pythonGH-119475) (cherry picked from commit 3b26cd8) Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 27, 2024
…typo (pythonGH-119475) (cherry picked from commit 3b26cd8) Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com>
kumaraditya303
pushed a commit
that referenced
this issue
May 27, 2024
kumaraditya303
pushed a commit
that referenced
this issue
May 27, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
The declaration of the
format
field of thePy_buffer
structure ischar *
but the documentation states it isconst char *
.IMHO the declaration should be changed to match the docs.
CPython versions tested on:
3.8, 3.9, 3.10, 3.11, 3.12, 3.13
Operating systems tested on:
Linux, macOS, Windows
Linked PRs
The text was updated successfully, but these errors were encountered: