Skip to content

gh-155358: Use named attributes with os module - #155366

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:tuple_api_os
Aug 10, 2026
Merged

gh-155358: Use named attributes with os module#155366
vstinner merged 1 commit into
python:mainfrom
vstinner:tuple_api_os

Conversation

@vstinner

@vstinner vstinner commented Aug 7, 2026

Copy link
Copy Markdown
Member

Replace os.stat() result:

  • st[1] => st.st_ino
  • st[6] => st.st_size
  • st[ST_MTIME] => st_mtime: change int type to float

Replace os.stat() result:

* st[1] => st.st_ino
* st[6] => st.st_size
* st[ST_MTIME] => st_mtime: change int type to float
@vstinner
vstinner merged commit 2e519dd into python:main Aug 10, 2026
51 checks passed
@vstinner
vstinner deleted the tuple_api_os branch August 10, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant