commit | 78091e63d650edd9df09e3fd90d4cceed27b9a74 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Thu Dec 29 18:54:15 2011 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Thu Dec 29 18:54:15 2011 +0100 |
tree | 480b0518ec483c6fcf9a840ccae4f2617edecc06 | |
parent | d2f1db5355950fbad170b34750aff1c6074df949 [diff] |
Issue #12715: Add an optional symlinks argument to shutil functions (copyfile, copymode, copystat, copy, copy2). When that parameter is true, symlinks aren't dereferenced and the operation instead acts on the symlink itself (or creates one, if relevant). Patch by Hynek Schlawack.