diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-06-24 15:07:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 15:07:07 (GMT) |
commit | 6eb23b1311e7eebf2459076703460ee7f8044f05 (patch) | |
tree | a125eacbb2e6e8f14ed25e719b1107da9f92d527 /Python/executor_cases.c.h | |
parent | 22b8a35d6e6660cf7457ed6636cb8c12fff7e8e7 (diff) | |
download | cpython-6eb23b1311e7eebf2459076703460ee7f8044f05.zip cpython-6eb23b1311e7eebf2459076703460ee7f8044f05.tar.gz cpython-6eb23b1311e7eebf2459076703460ee7f8044f05.tar.bz2 |
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 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions