Author loewis
Recipients brian.curtin, chris.jerdonek, jeremy.kloth, jkloth, loewis, ncoghlan, pitrou, tim.golden
Date 2012-08-02.15:24:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I fail to see the point of not using os.stat. IIUC, Windows will delete the file once the last handle is been closed. Since stat will close any handle it temporarily gets, it will not prolong the live of the file; the file will still go away when the last process has closed it.

Performance is not an issue at all here, since we are waiting for the deletion of the file anyway. So checking whether the file is in the directory listing is fine with me as well. Unless someone can demonstrate how os.stat can prevent removal of the file, I'd like to see the comment corrected, though.
Date User Action Args
2012-08-02 15:24:22loewissetrecipients: + loewis, ncoghlan, pitrou, tim.golden, jkloth, brian.curtin, jeremy.kloth, chris.jerdonek
2012-08-02 15:24:22loewissetmessageid: <>
2012-08-02 15:24:21loewislinkissue15496 messages
2012-08-02 15:24:21loewiscreate