Skip to content

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

Open
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:tuple_api_os
Open

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

Conversation

@vstinner

@vstinnervstinner 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
Sign up for freeto 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

@vstinner