Skip to content

Conversation

cmaloney
Copy link
Contributor

@cmaloney cmaloney commented Oct 6, 2025

Individual commits have more details around each case.


This + GH-139592 get os down to two reference warning sources:

  1. os.statvfs() pieces which need docs written for both the return object attributes (f_bsize, ...) as well as os constants (ST_RDONLY, ...)
  2. os.uname() pieces which need docs written for the return object attributes (sysname, nodename, ...)

Planning to work on those to get os reference warnings clean once learn from these two PRs


📚 Documentation preview 📚: https://cpython-previews--139636.org.readthedocs.build/

Point to either the constants in `stat` or to
`os.stat_result` as needed.
Reference `dict` as os.environ emulates that and
`collections.abc.MutableMapping` doesn't have members defined.
Change to similar sample code used in `free-threading-python.rst`
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Oct 6, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant