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 <rep...@bugs.python.org> <http://bugs.python.org/issue19856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com