-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
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
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement