You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scandir direntry.stat() always returns st_ctime of 0 on Windows #117267
"The st_ctime fields return by os.stat() and os.lstat() on Windows are deprecated. In a future release, they will contain the last metadata change time, consistent with other platforms. For now, they still contain the creation time, which is also available in the new st_birthtime field. (Contributed by Steve Dower in gh-99726.)"
The os.stat results are as described, but maybe direntry.stat() was overlooked. I think it should also give st_ctime = st_birthtime for the compatibility period, like os.stat() is doing, not 0.
Activity
pythongh-117267: Ensure DirEntry.stat().st_ctime still contains creat…
gh-117267: Ensure DirEntry.stat().st_ctime still contains creation ti…
pythongh-117267: Ensure DirEntry.stat().st_ctime still contains creat…
gh-117267: Ensure DirEntry.stat().st_ctime still contains creation ti…
pythongh-117267: Ensure DirEntry.stat().st_ctime still contains creat…