]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99726: Improves correctness of stat results for Windows, and uses faster API when...
authorSteve Dower <steve.dower@python.org>
Thu, 16 Mar 2023 17:27:21 +0000 (17:27 +0000)
committerGitHub <noreply@github.com>
Thu, 16 Mar 2023 17:27:21 +0000 (17:27 +0000)
commit0f175766e27642108c65bba04bbd54dcf8799b0e
tree04f9d3c17c8816bdfc1911b5b11751b07b02901e
parente108af6eca9904d177d769281907d12ac6894dfc
gh-99726: Improves correctness of stat results for Windows, and uses faster API when available (GH-102149)

This deprecates `st_ctime` fields on Windows, with the intent to change them to contain the correct value in 3.14. For now, they should keep returning the creation time as they always have.
Doc/library/os.rst
Doc/whatsnew/3.12.rst
Include/internal/pycore_fileutils.h
Include/internal/pycore_fileutils_windows.h [new file with mode: 0644]
Lib/test/test_os.py
Misc/NEWS.d/next/Windows/2023-02-22-17-26-10.gh-issue-99726.76t957.rst [new file with mode: 0644]
Modules/posixmodule.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/fileutils.c