[issue10266] uu.decode fd leak if in_file is a filename

Brian Brazil report at bugs.python.org
Sun Oct 31 16:16:08 CET 2010


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

I missed this when fixing issue 10246. The attached patch fixes this and adds a test that produces a resource warning with the old code.

----------
components: Library (Lib)
files: uu_decode_fd_leak.patch
keywords: patch
messages: 120054
nosy: bbrazil
priority: normal
severity: normal
status: open
title: uu.decode fd leak if in_file is a filename
versions: Python 3.3
Added file: http://bugs.python.org/file19445/uu_decode_fd_leak.patch

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


More information about the Python-bugs-list mailing list