Author eryksun
Recipients eryksun, ldconejo, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-01.13:02:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 have stat() fall back on querying the directory in this case is too magical, even if it does make os.stat() more consistent with os.listdir() and the stat result from os.scandir().
Date User Action Args
2021-03-01 13:02:07eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, ldconejo
2021-03-01 13:02:07eryksunsetmessageid: <>
2021-03-01 13:02:07eryksunlinkissue33105 messages
2021-03-01 13:02:06eryksuncreate