Message278048
In scanning over issue 8828, I see no discussion of the consequences of not using MOVEFILE_COPY_ALLOWED in Antoine's patch, so it appears that this behavior change was unintentional.
> For now I switched to shutil.move() but I suppose its not
> as performant/optimal as an "move" or "rename" directly
> supported by the OS.
Correct, the copy employed by shutil.move for a cross-volume move is not as optimized as what MoveFile uses (basically CopyFile), but unless you're moving a file that's very large it shouldn't matter, and even then without testing I don't know if it's a significant difference relative to the throughput of the disk(s) involved. |
|
Date |
User |
Action |
Args |
2016-10-04 15:26:35 | eryksun | set | recipients:
+ eryksun, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, stephan |
2016-10-04 15:26:35 | eryksun | set | messageid: <1475594795.23.0.632168801619.issue28356@psf.upfronthosting.co.za> |
2016-10-04 15:26:35 | eryksun | link | issue28356 messages |
2016-10-04 15:26:35 | eryksun | create | |
|