Skip to content

gh-151427: add 'not macOS' restriction on availabitity state of 7 functions in os module.#151537

Open
YvesDup wants to merge 1 commit into
python:mainfrom
YvesDup:os-module-add-not-MacOSX-availability
Open

gh-151427: add 'not macOS' restriction on availabitity state of 7 functions in os module.#151537
YvesDup wants to merge 1 commit into
python:mainfrom
YvesDup:os-module-add-not-MacOSX-availability

Conversation

@YvesDup

@YvesDup YvesDup commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

These functions are not available on macOS.

  • getresgid, setresgid
  • getresuid, setresuid
  • pipe2
  • posix_fallocate
  • posix_fadvise

These updates should be backport to 3.13, 3.14 and 3.15 versions. The functions were added in 3.2 and 3.3 versions.

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Jun 16, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jun 16, 2026
@YvesDup YvesDup changed the title gh-151427: add **not macOS* restriction on availabitity state of 7 functions in os module. gh-151427: add 'not macOS' restriction on availabitity state of 7 functions in os module. Jun 16, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33161681 | 📁 Comparing 716bd91 against main (8646385)

  🔍 Preview build  

1 file changed
± library/os.html

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I don't have access to macOS to double check.

@StanFromIreland StanFromIreland requested a review from a team June 16, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants