summaryrefslogtreecommitdiffstats
path: root/Python/dynload_shlib.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-06-14 04:25:33 (GMT)
committerGitHub <noreply@github.com>2022-06-14 04:25:33 (GMT)
commitd7db9dc3cc5b44d0b4ce000571fecf58089a01ec (patch)
treecc636ef403b128d3d7786e3885a9aa68e7e6ca15 /Python/dynload_shlib.c
parent8352e322e87ba39c71e578b65ad8ae156ca3e0c7 (diff)
downloadcpython-d7db9dc3cc5b44d0b4ce000571fecf58089a01ec.zip
cpython-d7db9dc3cc5b44d0b4ce000571fecf58089a01ec.tar.gz
cpython-d7db9dc3cc5b44d0b4ce000571fecf58089a01ec.tar.bz2
gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426)
Suppress writing an XML declaration in open files in ElementTree.write() with encoding='unicode' and xml_declaration=None. If file patch is passed to ElementTree.write() with encoding='unicode', always open a new file in UTF-8.
Diffstat (limited to 'Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions