New submission from Peter Creath :
Calling wave.close() fails to release all references to the file passed in via
wave.open(filename_or_obj, "rb"). As a result, processing many wave files
produces an IOError of too many files open.
This bug is often masked because this dangling re
Peter Creath added the comment:
Thank you for clarifying the documentation. However, I don't think that fully
resolves the issue.
I'm not complaining about a failure to close the file. As you observe, it
doesn't need to (and shouldn't) close a file object, but i
Peter Creath added the comment:
A point of clarification on the original report: Georg is completely right when
he points out that this is only an issue when passing in a file object. If
passed a filename, wave.py both opens and closes the file explicitly, and the
dangling reference isn