summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2022-03-07 09:31:46 (GMT)
committerGitHub <noreply@github.com>2022-03-07 09:31:46 (GMT)
commit496c428de3318c9c5770937491b71dc3d3f18a6a (patch)
tree1e08551d1648d11fa4c7bca40550b4701a5c2bd5 /Misc
parentb748a36696ca56ed4ffcfae011a8488878eb2b3a (diff)
downloadcpython-496c428de3318c9c5770937491b71dc3d3f18a6a.zip
cpython-496c428de3318c9c5770937491b71dc3d3f18a6a.tar.gz
cpython-496c428de3318c9c5770937491b71dc3d3f18a6a.tar.bz2
bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Library/2022-03-05-09-43-53.bpo-25707.gTlclP.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index da2c826..df851bb 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1879,6 +1879,7 @@ Wojtek Walczak
Charles Waldman
Richard Walker
Larry Wall
+Jacob Walls
Kevin Walzer
Rodrigo Steinmuller Wanderley
Dingyuan Wang
diff --git a/Misc/NEWS.d/next/Library/2022-03-05-09-43-53.bpo-25707.gTlclP.rst b/Misc/NEWS.d/next/Library/2022-03-05-09-43-53.bpo-25707.gTlclP.rst
new file mode 100644
index 0000000..a59f0a7
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-03-05-09-43-53.bpo-25707.gTlclP.rst
@@ -0,0 +1,2 @@
+Fixed a file leak in :func:`xml.etree.ElementTree.iterparse` when the
+iterator is not exhausted. Patch by Jacob Walls.