Message408607
Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not. I've enclosed sample scripts that compare the two and have returned the results. the windows 10 registry entry to extend the path names fixes this issue (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled set to 1). I've enclosed a scripts that proved this occurs and can be used for testing. I have a script that does the same thing using os_walk, but I can't attach two scripts to this Issue. |
|
Date |
User |
Action |
Args |
2021-12-15 14:54:30 | jschwar313 | set | recipients:
+ jschwar313, paul.moore, tim.golden, zach.ware, steve.dower |
2021-12-15 14:54:30 | jschwar313 | set | messageid: <1639580070.17.0.621007734089.issue46084@roundup.psfhosted.org> |
2021-12-15 14:54:30 | jschwar313 | link | issue46084 messages |
2021-12-15 14:54:30 | jschwar313 | create | |
|