Author loewis
Recipients asvetlov, brian.curtin, flox, jafo, jaraco, loewis, r.david.murray, techtonik, tim.golden
Date 2010-04-11.17:57:55
SpamBayes Score 4.15003e-05
Marked as misclassified No
Message-id <1271008677.44.0.578850641014.issue7443@psf.upfronthosting.co.za>
In-reply-to
Content
1. I agree that we should fix the unlinking problem on Windows. I also think that such a fix should be independent of the test suite - many people run into failed unlink problems.

2. Tim already said it, but I repeat: the common theory is that the culprit for this kind of problem is software like virus checkers, desktop search spiders, Tortoise, ...

3. I'm not convinced that "rmdir/s/q" *really* solves the problem reliably. Because it's a timing issue, it may be that the additional startup cost to invoke rmdir was enough to let the virus scanner win the race, so that rmdir actually had no problems with removing the file.

4. I believe the official party line for removing files on Windows is this: "If DeleteFile fails, move the file to the trash bin (of the disk), and use NtSetInformationFile to set the delete disposition for the file". See cygwin's unlink_nt for an elaborate implementation of unlinking:

http://tinyurl.com/y7w6rrj
History
Date User Action Args
2010-04-11 17:57:57loewissetrecipients: + loewis, jafo, jaraco, techtonik, tim.golden, r.david.murray, brian.curtin, asvetlov, flox
2010-04-11 17:57:57loewissetmessageid: <1271008677.44.0.578850641014.issue7443@psf.upfronthosting.co.za>
2010-04-11 17:57:55loewislinkissue7443 messages
2010-04-11 17:57:55loewiscreate