STINNER Victor added the comment: The leak is in the element_repr() function of Modules/_elementtree.c.
Py_ReprEnter() creates an internal list to track objects, and so requires that Py_ReprLeave() is always called, even on error, to destroy these objects. Is it the case here? ;-) ---------- keywords: +easy (C) _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com