Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh-118416: Fix possible etree issues when registering default namespaces - #118417

Closed
danifus wants to merge 1 commit into
python:mainfrom
danifus:et-default-ns-fix
Closed

gh-118416: Fix possible etree issues when registering default namespaces#118417
danifus wants to merge 1 commit into
python:mainfrom
danifus:et-default-ns-fix

Conversation

@danifus

@danifus danifus commented Apr 30, 2024

Copy link
Copy Markdown
Contributor

In some circumstances, registering a default namespace prefix ("") with xml.etree.ElementTree.register_namespace could result in serialising incorrect xml


📚 Documentation preview 📚: https://cpython-previews--118417.org.readthedocs.build/

…ces in ElementTree

In some circumstances, registering a default namespace (`""`) with
`xml.etree.ElementTree.register_namespace` could result in serialising
incorrect xml
@danifus

danifus commented Jun 22, 2024

Copy link
Copy Markdown
Contributor Author

Closing this PR as I would rather merge in a solution that is based on this refactor: #120772

I've implemented this fix on a local branch built on that refactor. That branch fixes a few issues as they all modify the same section of code. I'll split that branch into PRs which address one issue at a time.

@danifus danifus closed this Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant