Skip to content

Soft-deprecate C-API OSError aliases - #160111

Merged
encukou merged 3 commits into
python:mainfrom
encukou:oserror-alias-docs
Oct 21, 2026
Merged

encukou merged 3 commits into
python:mainfrom
encukou:oserror-alias-docs

Conversation

@encukou

@encukou encukou commented Oct 21, 2026

Copy link
Copy Markdown
Member

Use official soft deprecation for these “compatibility aliases”.

Remove the tip about #ifdef MS_WINDOWS -- if you're changing code, you should switch to OSError.

@encukou

encukou commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

If/when #156871 is merged, I'd like to deduplicate the stable ABI labels here as well.

@read-the-docs-community

read-the-docs-community Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35309843 | 📁 Comparing b8acdf0 against main (fe70b06)

  🔍 Preview build  

6 files changed · ± 6 modified

± Modified

@encukou

encukou commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

... or not. Looking at the result, since only 2 of the 3 stable ABI notes are the same, it seems better to leave all three in.

@StanFromIreland StanFromIreland 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

@encukou
encukou marked this pull request as ready for review October 21, 2026 21:25
@encukou
encukou merged commit dbd0d9b into python:main Oct 21, 2026
42 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants