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 jschwar313
Recipients jschwar313, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-12-15.14:54:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639580070.17.0.621007734089.issue46084@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-12-15 14:54:30jschwar313setrecipients: + jschwar313, paul.moore, tim.golden, zach.ware, steve.dower
2021-12-15 14:54:30jschwar313setmessageid: <1639580070.17.0.621007734089.issue46084@roundup.psfhosted.org>
2021-12-15 14:54:30jschwar313linkissue46084 messages
2021-12-15 14:54:30jschwar313create