]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145056: Accept frozendict in xml.etree (#145508)
authorVictor Stinner <vstinner@python.org>
Thu, 5 Mar 2026 11:55:28 +0000 (12:55 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Mar 2026 11:55:28 +0000 (12:55 +0100)
commit7bdfce0d3a1696ed08ffa16e4574428ef09a6b40
tree257bb5d0de978ada61ff588d3375dba941ceebe4
parentc0ecf211b26978859c5112458bcd01d883e04b42
gh-145056: Accept frozendict in xml.etree (#145508)

Element and SubElement of xml.etree.ElementTree now also accept
frozendict for attrib.

Export _PyDict_CopyAsDict() function.
Doc/library/xml.etree.elementtree.rst
Include/internal/pycore_dict.h
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py
Modules/_elementtree.c