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 brian.curtin
Recipients brian.curtin, tarek
Date 2010-11-26.16:53:44
SpamBayes Score 5.9912704e-06
Marked as misclassified No
Message-id <1290790425.48.0.501049440747.issue10540@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch.

os.path.samefile and hard links don't work for Windows the same way they do for Mac/Linux. In the case where we are on Windows and a link comes into the _samefile function, check that it's a link and then use os.path.sameopenfile. If it's not a link but a regular file, or it's some other OS, do the os.path.samefile check.
History
Date User Action Args
2010-11-26 16:53:45brian.curtinsetrecipients: + brian.curtin, tarek
2010-11-26 16:53:45brian.curtinsetmessageid: <1290790425.48.0.501049440747.issue10540@psf.upfronthosting.co.za>
2010-11-26 16:53:44brian.curtinlinkissue10540 messages
2010-11-26 16:53:44brian.curtincreate