forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-117267: Ensure DirEntry.stat().st_ctime still contains creat…
…ion time during deprecation period
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
Misc/NEWS.d/next/Windows/2024-03-28-22-12-00.gh-issue-117267.K_tki1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Ensure ``DirEntry.stat().st_ctime`` behaves consistently with | ||
:func:`os.stat` during the deprecation period of ``st_ctime`` by containing | ||
the same value as ``st_birthtime``. After the deprecation period, | ||
``st_ctime`` will be the metadata change time (or unavailable through | ||
``DirEntry``), and only ``st_birthtime`` will contain the creation time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters