Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 13, 2025

@vstinner
Copy link
Member Author

See also #128788.

Copy link
Contributor

@clin1234 clin1234 left a comment

Choose a reason for hiding this comment

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

Perhaps also include a list of other removed private functions that don't have simple replacements for them?

Other than that, LGTM

@vstinner
Copy link
Member Author

vstinner commented Jan 13, 2025

Perhaps also include a list of other removed private functions that don't have simple replacements for them?

Do you have examples?

Python 3.13 removed 263 private functions. I don't want to give the full list, especially if there is no simple replacement.

@clin1234
Copy link
Contributor

  • _PyErr_WriteUnraisableMsg

@vstinner
Copy link
Member Author

_PyErr_WriteUnraisableMsg

Ok, I added _PyErr_WriteUnraisableMsg() replaced with PyErr_FormatUnraisable().

@vstinner vstinner merged commit 43ef958 into python:main Jan 14, 2025
25 checks passed
@vstinner vstinner deleted the removed_capi branch January 14, 2025 15:29
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 14, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jan 14, 2025

GH-128837 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jan 14, 2025
vstinner added a commit that referenced this pull request Jan 14, 2025
…128837)

gh-106320: Document replacement for removed C API (GH-128787)
(cherry picked from commit 43ef958)

Co-authored-by: Victor Stinner <[email protected]>
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 news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants