[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2021-02-19 Thread Steve Dower
Steve Dower added the comment: Same as issue33935, but since the newer issue has proposed solutions on it already, I'm preferring to keep that one open. -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed ___ Python

[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2020-12-19 Thread Steven Geerts
Steven Geerts added the comment: still an issue with Python 3.8 and 3.9. A copy between 2 files on webdave mapped drives can't be done, although src and dst are different. -- nosy: +steven.geerts versions: +Python 3.8, Python 3.9 ___ Python

[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2018-07-18 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2017-06-11 Thread Armin Rigo
Armin Rigo added the comment: Another example of this misbehaviour: there are cases where ``os.stat()`` will internally fail to obtain the whole stat info (in some case related to permissions) and silently fall back to the same behaviour as Python 2.7. In particular, it will return a result

[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2017-05-26 Thread Eryk Sun
New submission from Eryk Sun: os.path.samefile (used by shutil copyfile and move), os.path.sameopenfile, and pathlib.samefile rely on os.path.samestat (from genericpath.py), which compares corresponding st_dev and st_ino values. POSIX assures that the tuple (st_dev, st_ino) is unique. Windows