Message164140
| Author |
larry |
| Recipients |
alexey-smirnov, giampaolo.rodola, larry, socketpair |
| Date |
2012年06月27日.10:10:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340791847.17.0.675543609393.issue12971@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
First: there's no chance this will go into 3.1, 3.2, or 3.3 at this point.
Second: I can assure you that switching to the l... version of a function and not following the last symlink is exactly what "follow_symlinks" is for. Please see the 3.3 documentation on follow_symlinks for more:
http://docs.python.org/3.3/library/os.html#follow-symlinks
Third: I think it's better to keep os.isdir() simple. Users who want more sophisticated use cases (what to do about symlinks, using a dir_fd parameter) should use os.stat(). So I'm -1 on this.
TBH I'm not sure this even warrants a documentation change ("for more functionality, use os.stat()"). |
|