Staging
v0.8.1
v0.8.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
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
When the classes in wave.py opened files themselves, their .close() methods
Tip revision: cfc4178
File | Mode | Size |
---|---|---|
.cvsignore | -rw-r--r-- | 17 bytes |
Makefile.in | -rw-r--r-- | 2.6 KB |
abstract.c | -rw-r--r-- | 42.3 KB |
bufferobject.c | -rw-r--r-- | 11.1 KB |
classobject.c | -rw-r--r-- | 40.7 KB |
cobject.c | -rw-r--r-- | 3.6 KB |
complexobject.c | -rw-r--r-- | 10.8 KB |
dictobject.c | -rw-r--r-- | 27.6 KB |
fileobject.c | -rw-r--r-- | 27.3 KB |
floatobject.c | -rw-r--r-- | 16.7 KB |
frameobject.c | -rw-r--r-- | 8.4 KB |
funcobject.c | -rw-r--r-- | 5.6 KB |
intobject.c | -rw-r--r-- | 18.0 KB |
listobject.c | -rw-r--r-- | 38.3 KB |
longobject.c | -rw-r--r-- | 35.7 KB |
methodobject.c | -rw-r--r-- | 5.0 KB |
moduleobject.c | -rw-r--r-- | 4.7 KB |
object.c | -rw-r--r-- | 27.4 KB |
rangeobject.c | -rw-r--r-- | 4.6 KB |
sliceobject.c | -rw-r--r-- | 3.6 KB |
stringobject.c | -rw-r--r-- | 73.8 KB |
tupleobject.c | -rw-r--r-- | 10.9 KB |
typeobject.c | -rw-r--r-- | 1.3 KB |
unicodectype.c | -rw-r--r-- | 8.5 KB |
unicodeobject.c | -rw-r--r-- | 124.4 KB |
unicodetype_db.h | -rw-r--r-- | 37.1 KB |
xxobject.c | -rw-r--r-- | 2.4 KB |
Computing file changes ...