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 giampaolo.rodola
Recipients Deniz Bozyigit, eryksun, gary ruben, giampaolo.rodola, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2019-02-17.11:51:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

> Using the VSN and file index as if they're the same as POSIX st_dev and st_ino is technically wrong. There is no guarantee that this tuple uniquely identifies a file in Windows.

I agree. FWIW, I faced the same issue on pyftpdlib and ended up not supporting Windows:
It seems to me the problem here is os.path.samefile():

> For Windows it would be best (though slower) to pass the paths through os._getfinalpathname before comparison.

It seems this is how samefile() was originally implemented but it was changed:
Date User Action Args
2019-02-17 11:51:01giampaolo.rodolasetrecipients: + giampaolo.rodola, paul.moore, tim.golden, r.david.murray, zach.ware, eryksun, steve.dower, Deniz Bozyigit, gary ruben
2019-02-17 11:51:01giampaolo.rodolasetmessageid: <>
2019-02-17 11:51:01giampaolo.rodolalinkissue33935 messages
2019-02-17 11:51:01giampaolo.rodolacreate