[issue19856] Possible bug in shutil.move() on Windows

2013-12-08 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: Just feedback on windows7. I tried the tests inside IDLE and done 'Run Module' (F5) (deleting the directories between tests): test_A: import os, shutil os.makedirs('foo') os.makedirs('bar/boo') shutil.move('foo/', 'bar/') test_B: import os, shutil

[issue19856] Possible bug in shutil.move() on Windows

2013-12-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Perhaps following code fails on Windows (while successes on Linux): import os, shutil os.makedirs('foo') os.makedirs('bar/boo') shutil.move('foo/', 'bar/') However shutil.move('foo', 'bar/') and shutil.move('foo\\', 'bar/') should work. --