[New-bugs-announce] [issue19856] Possible bug in shutil.move() on Windows

Serhiy Storchaka report at bugs.python.org
Sun Dec 1 20:01:14 CET 2013


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.

----------
components: Library (Lib), Windows
messages: 204948
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Possible bug in shutil.move() on Windows
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19856>
_______________________________________


More information about the New-bugs-announce mailing list