Eryk Sun added the comment:
I'm closing this as not a bug. If the process limits DOS paths to MAX_PATH,
then checking os.path.isfile() should not be special cased to support longer
DOS paths because calling open() on such a path will raise FileNotFoundError.
My suggestion in msg314126 to hav
Eryk Sun added the comment:
> If you use os.listdir() on the networked folder, the log file
> will come up.
Querying a file's parent directory (e.g. via os.scandir in Python 3) can
provide a basic stat (i.e. attributes, reparse tag, size, and timestamps) when
opening the file directly fails.
Eryk Sun added the comment:
Python 2.7 is all but set in stone. Changes to its behavior have to correct
serious bugs, not work around limits in an OS. You can do that yourself. For
example, use an extended local-device path, i.e. a path that's prefixed by
u"?\\". This path type must be un