[issue10253] Fix fd leak in fileio.c and test resource warnings

Brian Brazil report at bugs.python.org
Sat Oct 30 17:28:11 CEST 2010


Brian Brazil <brian.brazil at gmail.com> added the comment:

Version 2 of the patch is attached.

This fixes a warning at line 256 in test_fileio.py:
    f = _FileIO("/dev/tty", "a")
on my Hardy machine.

----------
Added file: http://bugs.python.org/file19433/fileio_fd_leak_v2.patch

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


More information about the Python-bugs-list mailing list