diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-10-17 15:46:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 15:46:59 (GMT) |
commit | ad3eac1963a5f195ef9b2c1dbb5e44fa3cce4c72 (patch) | |
tree | c98cc588f9ad2070be389ad5c181d559b8e74bb2 /Misc/NEWS.d/next/Library/2024-10-14-17-29-34.gh-issue-125451.fmP3T9.rst | |
parent | 0cb20f2e7e867d5c34fc17dd5b8e51e8b0020bb3 (diff) | |
download | cpython-ad3eac1963a5f195ef9b2c1dbb5e44fa3cce4c72.zip cpython-ad3eac1963a5f195ef9b2c1dbb5e44fa3cce4c72.tar.gz cpython-ad3eac1963a5f195ef9b2c1dbb5e44fa3cce4c72.tar.bz2 |
gh-52551: Fix encoding issues in strftime() (GH-125193)
Fix time.strftime(), the strftime() method and formatting of the
datetime classes datetime, date and time.
* Characters not encodable in the current locale are now acceptable in
the format string.
* Surrogate pairs and sequence of surrogatescape-encoded bytes are no
longer recombinated.
* Embedded null character no longer terminates the format string.
This fixes also gh-78662 and gh-124531.
Diffstat (limited to 'Misc/NEWS.d/next/Library/2024-10-14-17-29-34.gh-issue-125451.fmP3T9.rst')
0 files changed, 0 insertions, 0 deletions