Serhiy Storchaka added the comment: This is a duplicate of issue15388. Parser doesn't close an input source's stream if an exception raised.
---------- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> SAX parse (ExpatParser) leaks file handle when given filename input _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2840> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com