This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients Trundle, draghuram, eric.araujo, giampaolo.rodola, neologix, pitrou, r.david.murray, tarek, techtonik, vstinner
Date 2011-10-24.06:56:16
SpamBayes Score 8.887243e-08
Marked as misclassified No
Message-id <>
In-reply-to <>
> MoveFileTransacted is only available under Vista or later. You should be able to use MoveFileEx for the same effect.


> "The solution? Let's remember that metadata changes are atomic. Rename is such a case."

Is he referring to the "standard" rename? The blog doesn't evoke a
specific function, but if it was the case, then why bother at all?

By the way:
MOVEFILE_WRITE_THROUGH flags: not atomic (eg. "If the file is to be
moved to a different volume, the function simulates the move by using
the CopyFile and DeleteFile functions."), version >= Windows 2000

There's exactly the same limitation with the POSIX version (except
that it'll fail with EXDEV instead of silently doing the copy+unlink).
Date User Action Args
2011-10-24 06:56:17neologixsetrecipients: + neologix, pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle
2011-10-24 06:56:17neologixlinkissue8828 messages
2011-10-24 06:56:16neologixcreate