Closed
Description
Python 3.13 added PyErr_FormatUnraisable(format, ...)
which allows logging a specific error message, whereas PyErr_WriteUnraisable()
always logs the generic "Exception ignored in ..." message.
I propose to use replace PyErr_WriteUnraisable()
with PyErr_FormatUnraisable()
to log better (more helpful) error messages.
Linked PRs
- [WIP] gh-129354: Use PyErr_FormatUnraisable() function #129359
- gh-129354: Use PyErr_FormatUnraisable() function #129435
- gh-129354: Fix grammar in PyErr_FormatUnraisable() #129475
- gh-129354: Use PyErr_FormatUnraisable() function #129511
- gh-129354: Use PyErr_FormatUnraisable() function #129514
- gh-129354: Use PyErr_FormatUnraisable() function #129518
- gh-129354: Use PyErr_FormatUnraisable() function #129523
- gh-129354: Use PyErr_FormatUnraisable() function #129524
- gh-129354: Use PyErr_FormatUnraisable() function #129656
- gh-129354: Cleanup test_coroutines #129684