Skip to content

gh-108082: Remove _PyErr_WriteUnraisableMsg() - #111643

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:capi-remove-_PyErr_WriteUnraisableMsg
Nov 3, 2023
Merged

gh-108082: Remove _PyErr_WriteUnraisableMsg()#111643
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:capi-remove-_PyErr_WriteUnraisableMsg

Conversation

@serhiy-storchaka

@serhiy-storchakaserhiy-storchaka commented Nov 2, 2023

Copy link
Copy Markdown
Member

Replace the remaining calls with PyErr_FormatUnraisable().

Replace the remaining calls with PyErr_FormatUnraisable().

@vstinnervstinner 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. I only looked at C changes, I didn't review the tests changes.

@serhiy-storchaka
serhiy-storchaka merged commit 26c0e5e into python:mainNov 3, 2023
@serhiy-storchaka
serhiy-storchaka deleted the capi-remove-_PyErr_WriteUnraisableMsg branch November 3, 2023 07:45
FullteaR pushed a commit to FullteaR/cpython that referenced this pull request Nov 3, 2023
Replace the remaining calls with PyErr_FormatUnraisable().
vstinner added a commit to vstinner/cffi that referenced this pull request Nov 15, 2023
Use the new public PyErr_FormatUnraisable() on Python 3.13.
The private _PyErr_WriteUnraisableMsg() function was removed in
Python 3.13:
python/cpython#111643
vstinner added a commit to vstinner/cffi that referenced this pull request Nov 15, 2023
Use the new public PyErr_FormatUnraisable() on Python 3.13.
The private _PyErr_WriteUnraisableMsg() function was removed in
Python 3.13:
python/cpython#111643
@vstinner

Copy link
Copy Markdown
Member

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.

vstinner added a commit to vstinner/cffi that referenced this pull request Nov 15, 2023
Use the new public PyErr_FormatUnraisable() on Python 3.13.
The private _PyErr_WriteUnraisableMsg() function was removed in
Python 3.13:
python/cpython#111643
arigo pushed a commit to python-cffi/cffi that referenced this pull request Nov 16, 2023
Use the new public PyErr_FormatUnraisable() on Python 3.13.
The private _PyErr_WriteUnraisableMsg() function was removed in
Python 3.13:
python/cpython#111643
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Replace the remaining calls with PyErr_FormatUnraisable().
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Replace the remaining calls with PyErr_FormatUnraisable().
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@serhiy-storchaka@vstinner