FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-146615: Fix format specifiers in error messages for consistency and correctness by sunmy2019 · Pull Request #146616 · python/cpython · GitHub

/ cpython Public

gh-146615: Fix format specifiers in error messages for consistency and correctness - #146616

Closed
sunmy2019 wants to merge 2 commits into
python:mainfrom
sunmy2019:gh-146615
Closed

gh-146615: Fix format specifiers in error messages for consistency and correctness#146616
sunmy2019 wants to merge 2 commits into
python:mainfrom
sunmy2019:gh-146615

Conversation

sunmy2019 commented Mar 29, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

There are 2 kinds of errors.

There are ~8 real mistakes.
Comply with C99 for va_list: https://en.cppreference.com/w/c/variadic/va_arg.html
Most of the changes are %d <-> %ld for int and Py_ssize_t.

sunmy2019 changed the title gh146615: Fix format specifiers in error messages for consistency and correctness gh-146615: Fix format specifiers in error messages for consistency and correctness Mar 29, 2026

picnixz commented Mar 29, 2026
edited
Loading

Copy link
Copy Markdown
Member

I would suggest:

  • 1 PR for errors in testcapi* etc.
  • 1 PR for errors in Python/*
  • 1 PR for errors in Objects/*
  • 1 PR for errors in extension modules.

Or 1 PR for real mistakes, 1 PR for the rest.

Copy link
Copy Markdown
Member Author

sunmy2019 closed this Mar 30, 2026
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
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.

2 participants


Back | FazBrowse Home | New Git URL