Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-83714: Set os.statx() members to None if missing from stx_mask#140216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 4 commits intopython:mainfromvstinner:statx_none
Oct 20, 2025
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix copy/paste mistakes
  • Loading branch information
@vstinner
vstinner committedOct 16, 2025
commit106c5adb5c159717bbe24f762f4e1bf776ec7ec4

Some comments aren't visible on the classic Files Changed page.

4 changes: 2 additions & 2 deletionsModules/posixmodule.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3441,7 +3441,7 @@ STATX_GET_DOUBLE(st_mtime, mtime_sec, STATX_MTIME)
}

STATX_GET_NSEC(st_atime_ns, stx_atime, STATX_ATIME)
STATX_GET_NSEC(st_birthtime_ns,stx_atime, STATX_BTIME)
STATX_GET_NSEC(st_birthtime_ns,stx_btime, STATX_BTIME)
STATX_GET_NSEC(st_ctime_ns, stx_ctime, STATX_CTIME)
STATX_GET_NSEC(st_mtime_ns, stx_mtime, STATX_MTIME)

Expand All@@ -3459,7 +3459,7 @@ static PyGetSetDef pystatx_result_getset[] = {
G(st_atime_ns, "time of last access in nanoseconds"),
G(st_birthtime, "time of creation"),
G(st_birthtime_ns, "time of creation in nanoseconds"),
G(st_ctime, "time of lastmodification"),
G(st_ctime, "time of lastchange"),
G(st_ctime_ns, "time of last change in nanoseconds"),
G(st_mtime, "time of last modification"),
G(st_mtime_ns, "time of last modification in nanoseconds"),
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp