Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, gregory.p.smith, ned.deily, r.david.murray, schmir, twb
Date 2009-09-30.22:50:48
SpamBayes Score 3.65782e-07
Marked as misclassified No
Message-id <1254351050.4.0.500781813967.issue6972@psf.upfronthosting.co.za>
In-reply-to
Content
The patch won't work if the target file already exists as a symlink.

I think that such a check is not a good idea. Using symlinks to extract files 
to somewhere else may be a feature, after all.  Specially if the symlink 
already exists before the operation. Some real-case example:
  /home/xxx/bin   --> symlink to /someotherpath/bin
  /home/xxx/lib   --> symlink to /someotherpath/lib
Now I want to extract "lib/libXXX.so" into "/home/xxx"

I suggest to only update the documentation with a warning, similar to the one 
for the tarfile module.
History
Date User Action Args
2009-09-30 22:50:50amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, gregory.p.smith, schmir, ned.deily, r.david.murray, twb
2009-09-30 22:50:50amaury.forgeotdarcsetmessageid: <1254351050.4.0.500781813967.issue6972@psf.upfronthosting.co.za>
2009-09-30 22:50:48amaury.forgeotdarclinkissue6972 messages
2009-09-30 22:50:48amaury.forgeotdarccreate