[issue2840] Expat parser locks XML source file if ContentHandler raises an exception

Serhiy Storchaka report at bugs.python.org
Tue Feb 5 21:06:25 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue2840>
_______________________________________


More information about the Python-bugs-list mailing list