Message278035
Hi,
I am just migrating my code from python 2.7.12 to 3.5.2
on Windows and stumbled on the following difference:
In python 2.7.12:
os.rename(filepath1, filepath2)
works even if
filepath1 and filepath2 are on different drives
(or one on a local drive, the other on a network share).
In python 3.5.2 I get for the same operation:
"OSError: [WinError 17] The system cannot move the file to a different disk drive"
My question:
- is this a bug?
- if not, where is this difference mentioned in the docs?
I did find nothing, but I think it should be mentioned,
otherwise I assume it's a bug. |
|
Date |
User |
Action |
Args |
2016-10-04 13:42:32 | stephan | set | recipients:
+ stephan |
2016-10-04 13:42:32 | stephan | set | messageid: <1475588552.47.0.916118565333.issue28356@psf.upfronthosting.co.za> |
2016-10-04 13:42:32 | stephan | link | issue28356 messages |
2016-10-04 13:42:32 | stephan | create | |
|