Staging
v0.5.1
https://github.com/python/cpython
Revision cfc4178e843f5f2b0f190bacd222c0f72ab91e53 authored by Tim Peters on 09 October 2000, 23:43:55 UTC, committed by Tim Peters on 09 October 2000, 23:43:55 UTC
didn't bother to close the files.  This caused the new test_wave test to fail
under Windows, as Windows won't let you delete a file that's open.  Fixed
that by ensuring the wave read & write classes' .close() and __del__ methods
close files that were opened by their constructors.
1 parent e8d2f55
History
Tip revision: cfc4178e843f5f2b0f190bacd222c0f72ab91e53 authored by Tim Peters on 09 October 2000, 23:43:55 UTC
When the classes in wave.py opened files themselves, their .close() methods
Tip revision: cfc4178

README

back to top