aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/instruction_sequence.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-10-17 18:46:59 +0300
committerGitHub <noreply@github.com>2024-10-17 15:46:59 +0000
commitad3eac1963a5f195ef9b2c1dbb5e44fa3cce4c72 (patch)
treec98cc588f9ad2070be389ad5c181d559b8e74bb2 /Python/instruction_sequence.c
parent0cb20f2e7e867d5c34fc17dd5b8e51e8b0020bb3 (diff)
downloadcpython-ad3eac1963a5f195ef9b2c1dbb5e44fa3cce4c72.tar.gz
cpython-ad3eac1963a5f195ef9b2c1dbb5e44fa3cce4c72.zip
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 'Python/instruction_sequence.c')
0 files changed, 0 insertions, 0 deletions