[issue10855] wave.Wave_read.close() doesn't release file

Georg Brandl report at bugs.python.org
Wed Jan 12 20:24:51 CET 2011


Georg Brandl <georg at python.org> added the comment:

I don't really see the bug here.  Either you openened the file object, then you have to close it.  Or wave.py opened it, then it will close it, no matter if it still has a reference or not.

Of course we could set _data_chunk to None, but I'm unsure what behavior change you would expect from that.

----------

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


More information about the Python-bugs-list mailing list