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:

Python tracker <>
Python-bugs-list mailing list

Reply via email to