[issue10855] wave.Wave_read.close() doesn't release file
report at bugs.python.org
Sat Jan 8 10:45:58 CET 2011
Georg Brandl <georg at python.org> added the comment:
This is not a bug in the implementation: the file object is only closed when you passed a file name to open().
Like other APIs that allow file names or objects to be passed in, it is the caller's responsibility to close the file object if an object was passed.
However, this was not documented. I've fixed that with r87859.
resolution: -> fixed
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list