Skip to content
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-129354: Use PyErr_FormatUnraisable() function #129435

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 29, 2025

Replace PyErr_WriteUnraisable() with PyErr_FormatUnraisable().

Replace PyErr_WriteUnraisable() with PyErr_FormatUnraisable().
Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

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

JIT changes look good, just a minor wording change:

Python/jit.c Outdated Show resolved Hide resolved
@vstinner
Copy link
Member Author

On Discord, I was adviced to use "when + verb-ing" instead of "on + verb-ing".

@vstinner vstinner merged commit 4e47e05 into python:main Jan 30, 2025
57 checks passed
@vstinner vstinner deleted the format_unraisable2 branch January 30, 2025 15:09
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Feb 7, 2025
Replace PyErr_WriteUnraisable() with PyErr_FormatUnraisable().
Sign up for free to 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