]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284)
authorStephen Morton <git@tungol.org>
Tue, 7 Jan 2025 10:40:41 +0000 (02:40 -0800)
committerGitHub <noreply@github.com>
Tue, 7 Jan 2025 10:40:41 +0000 (12:40 +0200)
commit6ea04da27036eaa69d65150148bb8c537d9beacf
tree3ad7437e402c7129d79abf15f33e0abab3e56a21
parent145276a072ae058bac42ee43a4235cd4eda2726b
gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284)

* Allow DOMParser.parse() to correctly handle DOMInputSource instances
  that only have a systemId attribute set.
* Fix DOMEntityResolver.resolveEntity(), which was broken by the
  Python 3.0 transition.
* Add Lib/test/test_xml_dom_xmlbuilder.py with few tests.
Lib/test/test_xml_dom_xmlbuilder.py [new file with mode: 0644]
Lib/xml/dom/xmlbuilder.py
Misc/NEWS.d/next/Library/2024-12-27-16-28-57.gh-issue-128302.2GMvyl.rst [new file with mode: 0644]
Misc/NEWS.d/next/Library/2024-12-29-13-49-46.gh-issue-128302.psRpPN.rst [new file with mode: 0644]