GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-146615: Fix format specifiers in `Python/` directory by sunmy2019 · Pull Request #146619 · python/cpython

Conversation

@sunmy2019

@sunmy2019 sunmy2019 commented Mar 30, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: Some Unicode format specifiers are incorrect #146615

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sunmy2019
Fix format specifiers in error messages to use size_t for argument co…
ec764c1
…unts
@bedevere-app bedevere-app Bot mentioned this pull request Mar 30, 2026
Some Unicode format specifiers are incorrect #146615
Closed
@sunmy2019 sunmy2019 mentioned this pull request Mar 30, 2026
gh-146615: Fix format specifiers in error messages for consistency and correctness #146616
Closed
serhiy-storchaka
serhiy-storchaka reviewed Mar 30, 2026
View reviewed changes
Comment thread Python/ceval.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Python/getargs.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Python/getargs.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Python/getargs.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

@picnixz

picnixz commented Mar 30, 2026

Copy link
Copy Markdown
Member

See #146620 (comment) for the rationale of adding a skip news

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@picnixz picnixz added the skip news label Mar 30, 2026
@sunmy2019
resolve comments
97614e5
serhiy-storchaka
serhiy-storchaka approved these changes Mar 30, 2026
View reviewed changes

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Python/getargs.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added the awaiting merge label Mar 30, 2026
@serhiy-storchaka
serhiy-storchaka marked this pull request as ready for review March 30, 2026 17:38
@serhiy-storchaka
serhiy-storchaka requested review from ericsnowcurrently and markshannon as code owners March 30, 2026 17:38
@bedevere-app bedevere-app Bot added awaiting review and removed awaiting merge labels Mar 30, 2026
@serhiy-storchaka serhiy-storchaka added awaiting merge needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes and removed awaiting review labels Mar 30, 2026
@serhiy-storchaka
serhiy-storchaka merged commit dcb260e into python:main Mar 31, 2026
70 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app

miss-islington-app Bot commented Mar 31, 2026

Copy link
Copy Markdown

Thanks @sunmy2019 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Mar 31, 2026
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 31, 2026
@sunmy2019 @miss-islington
pythongh-146615: Fix format specifiers in Python/ directory (pythonGH…
7a30be3
…-146619)

(cherry picked from commit dcb260e)

Co-authored-by: sunmy2019 <[email protected]>
@miss-islington-app

miss-islington-app Bot commented Mar 31, 2026

Copy link
Copy Markdown

Sorry, @sunmy2019 and @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker dcb260eff2d276976933f78c24a4ebd0ed7dbc36 3.13
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app miss-islington-app Bot assigned serhiy-storchaka Mar 31, 2026
@bedevere-app

bedevere-app Bot commented Mar 31, 2026

Copy link
Copy Markdown

GH-146650 is a backport of this pull request to the 3.14 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Mar 31, 2026
serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request Mar 31, 2026
@sunmy2019 @serhiy-storchaka
[3.13] pythongh-146615: Fix format specifiers in Python/ directory (p…
12d82ef
…ythonGH-146619)

(cherry picked from commit dcb260e)

Co-authored-by: sunmy2019 <[email protected]>
@bedevere-app

bedevere-app Bot commented Mar 31, 2026

Copy link
Copy Markdown

GH-146654 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Mar 31, 2026
@serhiy-storchaka serhiy-storchaka removed their assignment Mar 31, 2026
serhiy-storchaka pushed a commit that referenced this pull request Mar 31, 2026
@miss-islington @sunmy2019
[3.14] gh-146615: Fix format specifiers in Python/ directory (GH-146619…
9ac758e
…) (GH-146650)

(cherry picked from commit dcb260e)

Co-authored-by: sunmy2019 <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Mar 31, 2026
@serhiy-storchaka @sunmy2019
[3.13] gh-146615: Fix format specifiers in Python/ directory (GH-146619…
e726d28
…) (GH-146654)

(cherry picked from commit dcb260e)

Co-authored-by: sunmy2019 <[email protected]>
maurycy added a commit to maurycy/cpython that referenced this pull request Mar 31, 2026
@maurycy
Merge branch 'main' into tachyon-ndjson-kolektor
9836ffa
* main:
  pythongh-145458: use `self.skip_idle` consistently in the tachyon profiler (python#145459)
  pythongh-146615: Fix format specifiers in Objects/ directory (pythonGH-146620)
  pythongh-146615: Fix format specifiers in Python/ directory (pythonGH-146619)
  pythongh-146615: Fix format specifiers in test cextensions (pythonGH-146618)
  pythongh-146615: Fix format specifiers in extension modules (pythonGH-146617)
  pythongh-146615: Fix crash in __get__() for METH_METHOD descriptors with invalid type argument (pythonGH-146634)
  pythongh-146376: Reduce timeout in Emscripten GHA workflow (python#146378)
  pythongh-146442: Fix various bugs in compiler pipeline (python#146443)
  pythongh-146238: Support half-floats in the array module (python#146242)
  pythongh-145056: Add support for merging collections.UserDict and frozendict (pythonGH-146465)
  pythongh-145056: Fix merging of collections.OrderedDict and frozendict (pythonGH-146466)
  pythongh-139633: Run netrc file permission check only once per parse (pythonGH-139634)
@pablogsal pablogsal mentioned this pull request Apr 4, 2026
gh-130273: Fix traceback color output with unicode characters #142529
Merged
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Apr 16, 2026
@sunmy2019 @clin1234
pythongh-146615: Fix format specifiers in Python/ directory (pythonGH…
5b52651
…-146619)
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@sunmy2019 @ljfp
pythongh-146615: Fix format specifiers in Python/ directory (pythonGH…
ee13941
…-146619)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@serhiy-storchaka serhiy-storchaka serhiy-storchaka approved these changes
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner
@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@sunmy2019 @picnixz @serhiy-storchaka
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.