[issue29707] os.path.ismount() always returns false for mount --bind on same filesystem

2021-05-02 Thread R0b0t1
R0b0t1 added the comment: https://bugs.python.org/issue29707#msg331921 > But what is the problem with getting False for bind mounts on the same > filesystem? When doing directory traversal it is important to not duplicate listings. It seems this can cause duplication. I'm replying t

[issue44008] os.walk and other directory traversal does not handle recursive mounts on Windows

2021-05-01 Thread R0b0t1
New submission from R0b0t1 : Using `os.walk` to traverse a filesystem on Windows does not terminate in the case of a recursive mountpoint existing somewhere in the path. In my case C:\circlemount is linked to C:\, producing paths such as C:\circlemount\circlemount\circlemount\circlemount