Message408626
os.walk() has been implemented via os.scandir(), but by default it ignores OSErrors raised by os.scandir(), DirEntry.is_dir() and DirEntry.is_symlink(). You can get errors raised by os.scandir() if specify the onerror argument, but errors in DirEntry.is_dir() and DirEntry.is_symlink() are always ignored, so too deep directories or links to directories can be treated as files. |
|
Date |
User |
Action |
Args |
2021-12-15 17:56:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, jschwar313 |
2021-12-15 17:56:20 | serhiy.storchaka | set | messageid: <1639590980.36.0.304617492949.issue46084@roundup.psfhosted.org> |
2021-12-15 17:56:20 | serhiy.storchaka | link | issue46084 messages |
2021-12-15 17:56:20 | serhiy.storchaka | create | |
|