-
-
Couldn't load subscription status.
- Fork 33.2k
gh-108082: Remove _PyErr_WriteUnraisableMsg() #111643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-108082: Remove _PyErr_WriteUnraisableMsg() #111643
Conversation
Replace the remaining calls with PyErr_FormatUnraisable().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I only looked at C changes, I didn't review the tests changes.
Replace the remaining calls with PyErr_FormatUnraisable().
Use the new public PyErr_FormatUnraisable() on Python 3.13. The private _PyErr_WriteUnraisableMsg() function was removed in Python 3.13: python/cpython#111643
Use the new public PyErr_FormatUnraisable() on Python 3.13. The private _PyErr_WriteUnraisableMsg() function was removed in Python 3.13: python/cpython#111643
|
cffi uses the private _PyErr_WriteUnraisableMsg() removed in Python 3.13. I wrote python-cffi/cffi#34 to update the code to the public PyErr_FormatUnraisable() function. |
Use the new public PyErr_FormatUnraisable() on Python 3.13. The private _PyErr_WriteUnraisableMsg() function was removed in Python 3.13: python/cpython#111643
Use the new public PyErr_FormatUnraisable() on Python 3.13. The private _PyErr_WriteUnraisableMsg() function was removed in Python 3.13: python/cpython#111643
Replace the remaining calls with PyErr_FormatUnraisable().
Replace the remaining calls with PyErr_FormatUnraisable().
Replace the remaining calls with PyErr_FormatUnraisable().