[issue5955] aifc: close() does not close the underlying file

Amaury Forgeot d'Arc report at bugs.python.org
Thu May 7 14:05:08 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Sorry, but the problem still exists.
self._file is a chunk.Chunk object, and its close() method does nothing.

Adding "self.file = None" at the end of chunk.Chunk.close() helps, even
if this relies on reference counting to close the file.

----------
resolution: fixed -> 
status: closed -> open

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


More information about the Python-bugs-list mailing list