Message366

Author eris
Recipients
Date 2001-08-06.12:48:39
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Debian Linux, unstable
Blackdown JDK 1.3.1-1
Debian package of jython 2.1a2
open('test.txt','w').write('test') fails

in short, it seems you *must* call file.close or 
file.flush for jython to write a file to the disk.
even 
f = open('test.txt','w')
f.write('test')
import sys ; sys.exit()
will not write to the disk.

the file always ends up being empty unless flush() or 
close() is called.
History
Date User Action Args
2008-02-20 17:16:52adminlinkissue448398 messages
2008-02-20 17:16:52admincreate