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 <rep...@bugs.python.org> <http://bugs.python.org/issue25688> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com