New submission from Petri Lehtinen <pe...@digip.org>: As discussed in issue 12183, shutil.copytree(..., symlinks=True) should copy the metadata of symlinks instead of the metadata of the file that the symlink refers to.
This can be achieved by using os.lstat() and os.lutimes() (new in 3.3) on symlinks. ---------- components: Library (Lib) keywords: easy messages: 141712 nosy: orsenthil, petri.lehtinen priority: normal severity: normal status: open title: shutil.copytree() should use os.lutimes() to copy the metadata of symlinks type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12702> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com