diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-10-09 23:43:55 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-10-09 23:43:55 +0000 |
commit | d0e09232a9ddf46cfc78485a8dc920917459a4c9 (patch) | |
tree | 6b1830ca049657566cf00cc8cb346a2ef0f07719 /Python/pythonmain.c | |
parent | ae4e649d2338407eadb2abc62b5ec6b72c55afad (diff) | |
download | cpython-d0e09232a9ddf46cfc78485a8dc920917459a4c9.tar.gz |
When the classes in wave.py opened files themselves, their .close() methods
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.
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions