[Python-Dev] [Python-checkins] r87070 - python/branches/py3k/Lib/test/test_shutil.py

Hirokazu Yamamoto ocean-city at m2.ccsnet.ne.jp
Sun Dec 5 04:15:33 CET 2010


On 2010/12/05 11:08, Brian Curtin wrote:
> I created #10540 for this issue, but the patch I have on there is just a bad
> hack. I need to fix os.path.samefile for hard links, which might be easier
> if we keep st_ino data in stat structures on Windows.

MSDN says,
http://msdn.microsoft.com/en-us/library/aa363788%28v=VS.85%29.aspx
> In the NTFS file system, a file keeps the same file ID until it is deleted.

Hard link can be live in NTFS only, so maybe we can say st_ino data is
valid until hard links are established.



More information about the Python-Dev mailing list