This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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()").
History
Date User Action Args
2012-06-27 10:10:47larrysetrecipients: + larry, giampaolo.rodola, socketpair, alexey-smirnov
2012-06-27 10:10:47larrysetmessageid: <1340791847.17.0.675543609393.issue12971@psf.upfronthosting.co.za>
2012-06-27 10:10:46larrylinkissue12971 messages
2012-06-27 10:10:46larrycreate