Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal xml minidom API changed in Python 3.13 (_write_data) #352

Closed
oysstu opened this issue Jan 8, 2025 · 0 comments · Fixed by #353
Closed

Internal xml minidom API changed in Python 3.13 (_write_data) #352

oysstu opened this issue Jan 8, 2025 · 0 comments · Fixed by #353

Comments

@oysstu
Copy link

oysstu commented Jan 8, 2025

Python 3.13 has merged gh-50002, which changes the API of the internal _write_data function (issue, PR).

Used here:

xml.dom.minidom._write_data(writer, attrs[a_name].value)

The new parameter "attr" seem to enable some additional escaping for attributes. Looks like an attribute is being written here, so should probably be set to true (or better yet, find a replacement in the public API).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant