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 r.david.murray
Recipients dabrahams, docs@python, larry, r.david.murray
Date 2012-08-04.20:56:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344113794.75.0.924029348999.issue15531@psf.upfronthosting.co.za>
In-reply-to
Content
The first of those acts as I would expect: os.path.realpath is operating only on the path, so if the last element is a symbolic link it doesn't have any reason to look for the target of that link.

The second one does seem less intuitive.

I'm not sure the first case is worth a patch...I'd have to see a suggested wording.  The second probably is, assuming it is not in fact a bug.
History
Date User Action Args
2012-08-04 20:56:34r.david.murraysetrecipients: + r.david.murray, larry, docs@python, dabrahams
2012-08-04 20:56:34r.david.murraysetmessageid: <1344113794.75.0.924029348999.issue15531@psf.upfronthosting.co.za>
2012-08-04 20:56:34r.david.murraylinkissue15531 messages
2012-08-04 20:56:34r.david.murraycreate