{{ message }}
Commit 9344ede
The iterator returned by ElementTree.iterparse() may hold on to a file
descriptor. The reference cycle prevented prompt clean-up of the file
descriptor if the returned iterator was not exhausted.
(cherry picked from commit ce01ab5)
Co-authored-by: Sam Gross <colesbury@gmail.com>
1 parent e85f4c6 commit 9344ede
2 files changed
Lines changed: 21 additions & 10 deletions
File tree
- Lib/xml/etree
- Misc/NEWS.d/next/Library
Lines changed: 4 additions & 0 deletions

0 commit comments