FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.10] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903) by miss-islington · Pull Request #92664 · python/cpython · GitHub

/ cpython Public

[3.10] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903) - #92664

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-707839b-3.10
May 11, 2022
Merged

[3.10] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903)#92664
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-707839b-3.10

Conversation

miss-islington commented May 11, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

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 707839b)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

Automerge-Triggered-By: GH:serhiy-storchaka

…ML declaration (pythonGH-91903)

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 707839b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: Base branch was modified. Review and try the merge again..

miss-islington merged commit 4730b0d into python:3.10 May 11, 2022
miss-islington deleted the backport-707839b-3.10 branch May 11, 2022 17:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL