◐ Shell
clean mode source ↗

gh-106320: Document replacement for removed C API by vstinner · Pull Request #128787 · python/cpython

@vstinner

@vstinner vstinner commented

Jan 13, 2025

edited by github-actions Bot

Loading

@vstinner

clin1234

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

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.

StanFromIreland

@clin1234

  • _PyErr_WriteUnraisableMsg
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

@vstinner

_PyErr_WriteUnraisableMsg

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

@miss-islington-app

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
)

(cherry picked from commit 43ef958)

Co-authored-by: Victor Stinner <vstinner@python.org>

@bedevere-app

vstinner added a commit that referenced this pull request

Jan 14, 2025