You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor of xml.etree.ElementTree._namespaces in preparation to simplify the logic to address the following gh issues, all of which require some changes to _namespaces:
As some more context about the benefits of the refactor, I've created another branch that includes the fixes for all the issues listed above based on this refactor (as a PR on my own fork): danifus#3
If this approach looks good I'm happy to break this other branch down into a couple of separate PRs for each of the issues above and apply any suggested changes.
Sorry for not looking at this in time. _namespaces() was restructured in #156747 for gh-61290 and gh-113581 (it now maps prefixes to URIs and encodes attribute names separately), so #120772 no longer applies. gh-57587 is implemented on top of that in #157523, and gh-118416 is next. Thank you for the analysis.
Activity
pythongh-120771 Refactor xml.etree.ElementTree._namespaces
danifus commentedon Jun 20, 2024
As some more context about the benefits of the refactor, I've created another branch that includes the fixes for all the issues listed above based on this refactor (as a PR on my own fork): danifus#3
If this approach looks good I'm happy to break this other branch down into a couple of separate PRs for each of the issues above and apply any suggested changes.
joooeey commentedon Apr 17, 2025
This may be related: #132637
serhiy-storchaka commentedon Sep 15, 2026
Sorry for not looking at this in time.
_namespaces()was restructured in #156747 for gh-61290 and gh-113581 (it now maps prefixes to URIs and encodes attribute names separately), so #120772 no longer applies. gh-57587 is implemented on top of that in #157523, and gh-118416 is next. Thank you for the analysis.