[issue45013] os.path.isfile fails on path exactly 260 Chars long in Windows

Luke Rossi report at bugs.python.org
Thu Aug 26 08:44:37 EDT 2021


Luke Rossi <ubermidget2 at gmail.com> added the comment:

I saw 33105, but believe this to be a different issue as path length 260 is valid.

I did testing by crafting a path that is exactly 260 by hand - A path 259 in length reports .isfile() as True.

The Stack Error:
[WinError 3] The system cannot find the path specified

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45013>
_______________________________________


More information about the Python-bugs-list mailing list