[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-08-02 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 209ad8920b03 by Senthil Kumaran in branch '2.7': Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen. http://hg.python.org/cpython/rev/209ad8920b03 -- nosy:

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-08-02 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 22730c87 by Senthil Kumaran in branch '3.2': Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen. http://hg.python.org/cpython/rev/22730c87 --

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-08-02 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Petri, Thanks for the patch. It would also be helpful to track - shutil.copytree() use lutimes in Python 3.3 to copy symlink metadata if symlinks=True. You can raise a feature request if it is not already raised. Thanks!. --

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-08-02 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 746dc0a2398e by Ezio Melotti in branch 'default': #12183: merge with 3.2. http://hg.python.org/cpython/rev/746dc0a2398e -- ___ Python tracker rep...@bugs.python.org

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-08-02 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Hi Ezio, It was intentional that I did not merge it to default. We want shutil.copystat to use lutimes which is available in 3.3 and in which case, we will have to remove this once that change is done. --

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-08-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I applied it because the patch is valid on 3.3 too until we actually change copystat to use lutimes. If/when shutil is changed the doc can be updated accordingly. -- nosy: +ezio.melotti ___

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-07-31 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Senthil Kumaran wrote: When shutil.copy2 already says that it's behavior is equivalent to cp -p, will adding this sentence + Symbolic links are not preserved. The contents and metadata of the + linked files are copied instead. Not

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-07-30 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: When shutil.copy2 already says that it's behavior is equivalent to cp -p, will adding this sentence + Symbolic links are not preserved. The contents and metadata of the + linked files are copied instead. Not actively confuse the user?

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-07-07 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Shouldn't at least shutil.copytree() use lutimes in Python 3.3 to copy symlink metadata if symlinks=True? -- versions: -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-07-07 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Attached a patch that documents the behavior of copy2() and copytree() for symlinks. -- keywords: +needs review, patch stage: - patch review Added file: http://bugs.python.org/file22607/copy2_copytree_symlinks_2.7.patch

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-07-07 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12183 ___ ___ Python-bugs-list mailing

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-05-25 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Python 3.3 (as yet unreleased) supports the lutimes function: http://docs.python.org/dev/py3k/library/os.html#os.lutimes Python 2.7 is not getting any more features so it will not be added. I'm changing the title to the second part of

[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

2011-05-25 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12183 ___ ___ Python-bugs-list