diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-06-24 18:07:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 18:07:07 +0300 |
commit | 6eb23b1311e7eebf2459076703460ee7f8044f05 (patch) | |
tree | a125eacbb2e6e8f14ed25e719b1107da9f92d527 /Include/internal/pycore_pyerrors.h | |
parent | 22b8a35d6e6660cf7457ed6636cb8c12fff7e8e7 (diff) | |
download | cpython-6eb23b1311e7eebf2459076703460ee7f8044f05.tar.gz cpython-6eb23b1311e7eebf2459076703460ee7f8044f05.zip |
gh-70278: Fix PyUnicode_FromFormat() with precision for %s and %V (GH-120365)
PyUnicode_FromFormat() no longer produces the ending \ufffd
character for truncated C string when use precision with %s and %V.
It now truncates the string before the start of truncated multibyte sequences.
Diffstat (limited to 'Include/internal/pycore_pyerrors.h')
0 files changed, 0 insertions, 0 deletions