diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-06-14 04:25:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 04:25:33 (GMT) |
commit | d7db9dc3cc5b44d0b4ce000571fecf58089a01ec (patch) | |
tree | cc636ef403b128d3d7786e3885a9aa68e7e6ca15 /Python/dynload_shlib.c | |
parent | 8352e322e87ba39c71e578b65ad8ae156ca3e0c7 (diff) | |
download | cpython-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