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:
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
--
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!.
--
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
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.
--
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
___
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
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?
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
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
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12183
___
___
Python-bugs-list mailing
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
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12183
___
___
Python-bugs-list
13 matches
Mail list logo