STINNER Victor added the comment: I suppose temp.flush() is a remnant of other (unsuccessful) attempt to fix a race condition.
I didn't try only with .flush(). I prefer to explicitly .flush(), just in case :-) Using correctly a file system is complex because of all layers of caching. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue29654> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
