summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-10-09 23:43:55 +0000
committerTim Peters <tim.peters@gmail.com>2000-10-09 23:43:55 +0000
commitcfc4178e843f5f2b0f190bacd222c0f72ab91e53 (patch)
tree02fc024fbff8112772407f9ba1b9b7f2ea9ef0a9 /Python/errors.c
parente8d2f5589bdbe8988c97b2f8bb265f1aca2b4193 (diff)
downloadcpython-git-cfc4178e843f5f2b0f190bacd222c0f72ab91e53.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/errors.c')
0 files changed, 0 insertions, 0 deletions