[issue43292] xml.ElementTree iterparse filehandle left open
Martin Panter
report at bugs.python.org
Wed Mar 10 15:14:54 EST 2021
Martin Panter <vadmium+py at gmail.com> added the comment:
Perhaps this can be handled with Issue 25707, which is open for adding an API to close the file, similar to how "os.scandir" iterator implements a context manager and "close" method.
----------
nosy: +martin.panter
superseder: -> Add the close method for ElementTree.iterparse() object
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43292>
_______________________________________
More information about the Python-bugs-list
mailing list