[issue14762] ElementTree memory leak

Eli Bendersky report at bugs.python.org
Wed May 9 13:39:01 CEST 2012


Eli Bendersky <eliben at gmail.com> added the comment:

Can you specify how you import ET? I.e. from the pure Python or the C accelerator?

Also, do you realize that the element iterparse returns should be discarded with 'clear'? [see tutorial here: http://eli.thegreenplace.net/2012/03/15/processing-xml-in-python-with-elementtree/]

----------

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


More information about the Python-bugs-list mailing list