diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2022-06-14 07:25:33 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-14 07:25:33 +0300 |
| commit | d7db9dc3cc5b44d0b4ce000571fecf58089a01ec (patch) | |
| tree | cc636ef403b128d3d7786e3885a9aa68e7e6ca15 /Objects/codeobject.c | |
| parent | 8352e322e87ba39c71e578b65ad8ae156ca3e0c7 (diff) | |
| download | cpython-git-d7db9dc3cc5b44d0b4ce000571fecf58089a01ec.tar.gz | |
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 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions
