[New-bugs-announce] [issue16485] FD leaks in aifc module
Serhiy Storchaka
report at bugs.python.org
Fri Nov 16 13:49:33 CET 2012
New submission from Serhiy Storchaka:
Aifc_write.close() can raise exception and left the internal file object not closed. The patch closes the file object even in case of error and reset _file to None even in case of the file object close() raises an exception, so that Aifc_write.close() can be called repeatedly.
----------
components: Library (Lib)
files: aifc_close.patch
keywords: patch
messages: 175683
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: FD leaks in aifc module
type: resource usage
versions: Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27996/aifc_close.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16485>
_______________________________________
More information about the New-bugs-announce
mailing list