This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 2022-04-11 14:57 by admin. 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
2022-04-11 14:57:08adminsetgithub: 54486
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