classification
Title: sax leaks a fd if source is a filename
Type: Stage:
Components: Library (Lib) Versions: Python 3.3
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: bbrazil, benjamin.peterson
Priority: normal Keywords:

Created on 2010-11-01 11:05 by bbrazil, last changed 2010-11-01 12:46 by benjamin.peterson. This issue is now closed.

Messages (2)
msg120118 - (view) Author: Brian Brazil (bbrazil) * Date: 2010-11-01 11:05
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.
msg120121 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-11-01 12:46
It is now.
History
Date User Action Args
2010-11-01 12:46:37benjamin.petersonsetstatus: pending -> closed
resolution: fixed -> out of date
2010-11-01 12:46:28benjamin.petersonsetstatus: open -> pending

nosy: + benjamin.peterson
messages: + msg120121

resolution: fixed
2010-11-01 11:05:39bbrazilcreate