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 R0b0t1
Recipients R0b0t1, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-05-02.04:54:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619931249.15.0.612440127198.issue44008@roundup.psfhosted.org>
In-reply-to
Content
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\...

A drive mount point may be set up as follows:

```diskpart (enters shell)
list volume`
select volume ${#}`
assign mount=${path}
```

Notably this only happens for Win32 python. Cygwin and MSYS2 pythons as well as the pythons distributed with some packages like Inkscape behave properly.
History
Date User Action Args
2021-05-02 04:54:09R0b0t1setrecipients: + R0b0t1, paul.moore, tim.golden, zach.ware, steve.dower
2021-05-02 04:54:09R0b0t1setmessageid: <1619931249.15.0.612440127198.issue44008@roundup.psfhosted.org>
2021-05-02 04:54:09R0b0t1linkissue44008 messages
2021-05-02 04:54:08R0b0t1create