Message183059
| Author |
pitrou |
| Recipients |
amaury.forgeotdarc, brian.curtin, jaraco, pitrou, python-dev, santoso.wijaya, tim.golden |
| Date |
2013年02月26日.14:11:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<2131842814.65338392.1361887906997.JavaMail.root@zimbra10-e2.priv.proxad.net> |
| In-reply-to |
<1361886700.31.0.540407456369.issue13772@psf.upfronthosting.co.za> |
| Content |
> I'm not super-confident about the implementation of the
> path-manipulation functions, and I would prefer to use the Python
> implementations of the path-manipulation (dirname and join) instead.
> If there are any suggestions in this regard, I'd appreciate them.
From an implementation standpoint, I would indeed prefer the path handling
functions to be written in Python.
From a principle standpoint, I'm not sure it's a good idea for os.symlink()
to be non-atomic (there's a small race condition between reading the target's
attributes and creating the actual symlink).
Also, since in general you always know whether you're making a link to a
directory or a file, I'm not sure auto-detection is really a plus (except
that it makes things more familiar for Unix developers). |
|