Author asvetlov
Recipients asvetlov
Date 2009-12-05.15:20:00
SpamBayes Score 3.31131e-10
Marked as misclassified No
Message-id <>
On Windows there are tiny delay between call to os.unlink and real file 
removing. Periodically it leads to unittest crashes in cases like this:
f = open(filename, 'wb')

Proposed solution: wait in support.unlink for end of deletion asking 
os.stat for removed file (only if == 'nt', of course).

Also test.test_linecache:LineCacheTests.test_checkcache should be fixed 
- this one miss to close last opened file and Windows cannot remove it.

Both patches for trunk and py3k is attached.
Date User Action Args
2009-12-05 15:20:04asvetlovsetrecipients: + asvetlov
2009-12-05 15:20:04asvetlovsetmessageid: <>
2009-12-05 15:20:02asvetlovlinkissue7443 messages
2009-12-05 15:20:02asvetlovcreate