Commits

Kurt B. Kaiser committed 9910ff6

Source file f.flush() after writing; trying to avoid lossage if user
kills GUI. Report from Bruce Sherwood.

  • Participants
  • Parent commits 43c393b
  • Branches 2.4

Comments (0)

Files changed (2)

File Lib/idlelib/IOBinding.py

         try:
             f = open(filename, "wb")
             f.write(chars)
+            f.flush()
             f.close()
             return True
         except IOError, msg:

File Lib/idlelib/NEWS.txt

+What's New in IDLE 1.1.3?
+=========================
+
+*Release date:
+
+- Source file f.flush() after writing; trying to avoid lossage if user
+  kills GUI.  Reported by Bruce Sherwood.
+
+
 What's New in IDLE 1.1.2?
 =========================