8000 gh-95504: Fix negative numbers in PyUnicode_FromFormat by encukou · Pull Request #95848 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-95504: Fix negative numbers in PyUnicode_FromFormat #95848

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

Merged
merged 3 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply What's New fixes
Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
  • Loading branch information
encukou and philg314 authored Aug 10, 2022
8000
commit e7c617f85c336c6965d0c63e3a33785fb3ca83c0
3 changes: 2 additions & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ Porting to Python 3.12
copied as-is to the result string, and any extra arguments discarded.
(Contributed by Serhiy Storchaka in :gh:`95781`.)

* Fixed wrong sign placement in ``PyUnicode_FromFormat``.
* Fixed wrong sign placement in :c:func:`PyUnicode_FromFormat` and
:c:func:`PyUnicode_FromFormatV`.
(Contributed by Philip Georgi in :gh:`95504`.)

Deprecated
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Fix sign placement when specifying width or precision in
``PyUnicode_FromFormat``. Patch by Philip Georgi.
:c:func:`PyUnicode_FromFormat` and :c:func:`PyUnicode_FromFormatV`.
Patch by Philip Georgi.
0