-
- Downloads
[3.9] gh-91810: ElementTree: Use text file's encoding by default in XML...
[3.9] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903) (GH-92665) ElementTree method write() and function tostring() now use the text file's encoding ("UTF-8" if not available) instead of locale encoding in XML declaration when encoding="unicode" is specified. (cherry picked from commit 707839b0) Co-authored-by:Serhiy Storchaka <storchaka@gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka
Showing
- Lib/test/test_xml_etree.py 15 additions, 16 deletionsLib/test/test_xml_etree.py
- Lib/xml/etree/ElementTree.py 9 additions, 14 deletionsLib/xml/etree/ElementTree.py
- Misc/NEWS.d/next/Library/2022-04-25-10-23-01.gh-issue-91810.DOHa6B.rst 5 additions, 0 deletions...ext/Library/2022-04-25-10-23-01.gh-issue-91810.DOHa6B.rst
Loading
Please register or sign in to comment