[MERGE] [BUG 363837] Catch _win32_delete_readonly failure to remove file or directory and try to recover

Stephen J. Turnbull stephen at xemacs.org
Tue May 5 16:05:57 BST 2009


Robert Collins writes:

 > Also, NamedTemporary file is in since at least python2.4.

More important than exactly when they showed up is whether these APIs
address the "delete open file" problem somehow.  I know that on
Windows you do *not* get the file itself, but rather a "file-like
object", so there's something magical going on.  I don't do Windows, so
I can't say whether it addresses the race this thread is about.  Just
wanted to suggest the obvious ('cause all too often nobody does...).





More information about the bazaar mailing list