Title: os.path.samefile fails on windows network drive
Type: behavior Stage:
Components: Windows Versions: Python 3.5
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Daniel Sauer, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2017-09-14 12:12 by Daniel Sauer, last changed 2017-09-14 12:12 by Daniel Sauer.

Messages (1)
msg302170 - (view) Author: Daniel Sauer (Daniel Sauer) Date: 2017-09-14 12:12
On my Windows network drive os.path.samefile() seems to return True regardless of input paths. In my case this results in an error trying to save checkpoints of jupyter notebooks on this drive.
I am using Windows 7, my working directory is located on a network drive that is offline-available (CSC cache).
Tracing this problem back it seems to have something to do with nt._getfinalpathname() reporting a wrong result.
Date User Action Args
2017-09-14 12:12:09Daniel Sauercreate