[New-bugs-announce] [issue25688] File leak in ElementTree.iterparse()

Serhiy Storchaka report at bugs.python.org
Sat Nov 21 06:11:33 EST 2015


New submission from Serhiy Storchaka:

ElementTree.iterparse() can leak internally open file in case of error. Proposed patch fixes the leak.

----------
components: Library (Lib)
files: etree_iterparse_leak.patch
keywords: patch
messages: 255051
nosy: eli.bendersky, scoder, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: File leak in ElementTree.iterparse()
type: resource usage
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41111/etree_iterparse_leak.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25688>
_______________________________________


More information about the New-bugs-announce mailing list