]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114737: Revert change to ElementTree.iterparse "root" attribute (GH-114755)
authorSam Gross <colesbury@gmail.com>
Wed, 31 Jan 2024 11:22:24 +0000 (06:22 -0500)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2024 11:22:24 +0000 (13:22 +0200)
commit66f95ea6a65deff547cab0d312b8c8c8a4cf8beb
tree5cac9743bbbc47962ce321181adfba2575ec04e0
parentb7688ef71eddcaf14f71b1c22ff2f164f34b2c74
gh-114737: Revert change to ElementTree.iterparse "root" attribute (GH-114755)

Prior to gh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py