Author vajrasky
Recipients vajrasky
Date 2013-08-23.05:13:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The python is compiled with debug option.

<omitted>cpython$ ./python Lib/ Lib/test/sndhdrdata/sndhdr.aiff 
Reading Lib/test/sndhdrdata/sndhdr.aiff
nchannels = 2
nframes   = 5
sampwidth = 2
framerate = 44100
comptype  = b'NONE'
compname  = b'not compressed'
sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='Lib/test/sndhdrdata/sndhdr.aiff'>

Attached the patch to close the file automatically and print "Done." message not just with writing mode but for reading mode as well.
Date User Action Args
2013-08-23 05:13:15vajraskysetrecipients: + vajrasky
2013-08-23 05:13:15vajraskysetmessageid: <>
2013-08-23 05:13:15vajraskylinkissue18817 messages
2013-08-23 05:13:15vajraskycreate