[issue10277] sax leaks a fd if source is a filename

Brian Brazil report at bugs.python.org
Mon Nov 1 12:05:42 CET 2010


New submission from Brian Brazil <brian.brazil at gmail.com>:

If saxutils.prepare_input_source is passed a filename or url, it'll end up leaking an fd via IncrementalParser.parse and ExpatParser.parse. This can be seen by enabling resource warnings and running test_sax.

This should be fixed.

----------
components: Library (Lib)
messages: 120118
nosy: bbrazil
priority: normal
severity: normal
status: open
title: sax leaks a fd if source is a filename
versions: Python 3.3

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


More information about the Python-bugs-list mailing list