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 eMPee584
Recipients eMPee584
Date 2017-07-20.08:07:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500538030.77.0.17785692497.issue30974@psf.upfronthosting.co.za>
In-reply-to
Content
Don't know whether it should be considered a documentation or behavioral issue, but os.samefile calls os.stat() on given files, following symlinks. Does this really "test whether two pathnames reference the same actual file"? I'd consider os.lstat() more suited for that.

This bites me every time I want to overwrite a symlink with its referenced file using ranger.
History
Date User Action Args
2017-07-20 08:07:10eMPee584setrecipients: + eMPee584
2017-07-20 08:07:10eMPee584setmessageid: <1500538030.77.0.17785692497.issue30974@psf.upfronthosting.co.za>
2017-07-20 08:07:10eMPee584linkissue30974 messages
2017-07-20 08:07:10eMPee584create