]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 7 Mar 2022 10:31:52 +0000 (02:31 -0800)
committerGitHub <noreply@github.com>
Mon, 7 Mar 2022 10:31:52 +0000 (02:31 -0800)
commit8acbb93c0763fa53b5959fe05d86ba275c9e8a5b
tree8090672c0d9f70c2a9c3193b3fe8f547e5ac86fc
parentee18df425209cfa4f394b57220177c168fc3a1da
bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 496c428de3318c9c5770937491b71dc3d3f18a6a)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py
Misc/ACKS
Misc/NEWS.d/next/Library/2022-03-05-09-43-53.bpo-25707.gTlclP.rst [new file with mode: 0644]