Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.11] gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426)#93793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ambv merged 1 commit intopython:3.11frommiss-islington:backport-d7db9dc-3.11
Jul 26, 2022

Conversation

@miss-islington
Copy link
Contributor

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.
(cherry picked from commitd7db9dc)

Co-authored-by: Serhiy Storchakastorchaka@gmail.com

…ncoding='unicode' (pythonGH-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.(cherry picked from commitd7db9dc)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅ .

@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅ .

@bedevere-botbedevere-bot added type-bugAn unexpected behavior, bug, or error awaiting review labelsJun 14, 2022
@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅ .

@ambvambv merged commit6fe7e02 intopython:3.11Jul 26, 2022
@miss-islingtonmiss-islington deleted the backport-d7db9dc-3.11 branchJuly 26, 2022 10:20
@serhiy-storchakaserhiy-storchaka removed their assignmentSep 8, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

type-bugAn unexpected behavior, bug, or error

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@ambv@serhiy-storchaka@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp