homepage

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 pitrou
Recipients Trundle, draghuram, eric.araujo, giampaolo.rodola, neologix, pitrou, r.david.murray, tarek, techtonik, vstinner
Date 2011年10月24日.16:40:27
SpamBayes Score 0.057744425
Marked as misclassified No
Message-id <1319474428.2.0.632209163038.issue8828@psf.upfronthosting.co.za>
In-reply-to
Content
I see that Sun/Oracle Java trusts MoveFileEx to do atomic renames:
 290 // atomic case
 291 if (atomicMove) {
 292 try {
 293 MoveFileEx(sourcePath, targetPath, MOVEFILE_REPLACE_EXISTING);
 294 } catch (WindowsException x) {
 295 if (x.lastError() == ERROR_NOT_SAME_DEVICE) {
 296 throw new AtomicMoveNotSupportedException(
 297 source.getPathForExceptionMessage(),
 298 target.getPathForExceptionMessage(),
 299 x.errorString());
 300 }
 301 x.rethrowAsIOException(source, target);
 302 }
 303 return;
 304 }
(from http://www.docjar.com/html/api/sun/nio/fs/WindowsFileCopy.java.html )
History
Date User Action Args
2011年10月24日 16:40:28pitrousetrecipients: + pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle, neologix
2011年10月24日 16:40:28pitrousetmessageid: <1319474428.2.0.632209163038.issue8828@psf.upfronthosting.co.za>
2011年10月24日 16:40:27pitroulinkissue8828 messages
2011年10月24日 16:40:27pitroucreate

AltStyle によって変換されたページ (->オリジナル) /