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

2011-08-02 Thread Ezio Melotti
Ezio Melotti 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 ___ Python tracker

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

2011-08-02 Thread Senthil Kumaran
Senthil Kumaran 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. -- ___ Pytho

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

2011-08-02 Thread Roundup Robot
Roundup Robot 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

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

2011-08-02 Thread Senthil Kumaran
Senthil Kumaran 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 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 Roundup Robot
Roundup Robot 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: +python-dev resolution: -> fixe

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

2011-07-31 Thread Petri Lehtinen
Petri Lehtinen 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 actively c

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

2011-07-30 Thread Senthil Kumaran
Senthil Kumaran 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? Because cp -p's be

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

2011-07-07 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-07-07 Thread Petri Lehtinen
Petri Lehtinen 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
Petri Lehtinen 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 ___

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

2011-05-25 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2011-05-25 Thread Ross Lagerwall
Ross Lagerwall 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 your question, documenti