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 docs@python, eMPee584, r.david.murray
Date 2017-07-20.15:47:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500565635.12.0.436640091079.issue30974@psf.upfronthosting.co.za>
In-reply-to
Content
I would take "actual file" as meaning the file the symlink points to, so I'd say the documentation matches the implementation according to your description of the two.  The current docs actually say "refer to the same file or directory", and mention os.stat explicitly, so again I'd say the docs and implementation match.

It sounds like what you want is to open a feature request for a samefile equivalent that does not follow symlinks.  lsamefile?

We could use this issue for making the docstring match the docs, though.  I think the sentence in the docs is short enough to just get copied into the docstring.
History
Date User Action Args
2017-07-20 15:47:15r.david.murraysetrecipients: + r.david.murray, docs@python, eMPee584
2017-07-20 15:47:15r.david.murraysetmessageid: <1500565635.12.0.436640091079.issue30974@psf.upfronthosting.co.za>
2017-07-20 15:47:15r.david.murraylinkissue30974 messages
2017-07-20 15:47:14r.david.murraycreate