Skip to content

[3.9] bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)#23994

Merged
miss-islington merged 1 commit into
python:3.9from
miss-islington:backport-84402eb-3.9
Dec 29, 2020
Merged

[3.9] bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)#23994
miss-islington merged 1 commit into
python:3.9from
miss-islington:backport-84402eb-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented Dec 29, 2020

Copy link
Copy Markdown
Contributor

The descriptions of the codes and messages dictionaries in
xml.parsers.expat.errors were swapped, and this commit swaps them
back. For example, codes maps string descriptions of errors to numeric
error codes, not the other way around.
(cherry picked from commit 84402eb)

Co-authored-by: Michael Wayne Goodman goodman.m.w@gmail.com

https://bugs.python.org/issue42700

The descriptions of the `codes` and `messages` dictionaries in
`xml.parsers.expat.errors` were swapped, and this commit swaps them
back. For example, `codes` maps string descriptions of errors to numeric
error codes, not the other way around.
(cherry picked from commit 84402eb)

Co-authored-by: Michael Wayne Goodman <goodman.m.w@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington miss-islington merged commit cc7f745 into python:3.9 Dec 29, 2020
@miss-islington miss-islington deleted the backport-84402eb-3.9 branch December 29, 2020 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants