-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Improve TypeError hints for %-formats #142037
Copy link
Copy link
Closed
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Bug report
Bug description:
As you can see, trying to format a
complexwith.dand.fproduces two outputs with the same meaning but different expressions.Expected: same expressions for same meaning.
CPython versions tested on:
3.14
Operating systems tested on:
Windows
Linked PRs