-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
Description
void PyErr_FormatUnraisable(const char *format, ...)
Similar to PyErr_WriteUnraisable(), but the format and subsequent parameters help format the warning message; they have the same meaning and values as in PyUnicode_FromFormat(). PyErr_WriteUnraisable(obj) is roughtly equivalent to PyErr_FormatUnraisable("Exception ignored in: %R, obj). If format is NULL, only the traceback is printed.
I think the PyErr_FormatUnraisable("Exception ignored in: %R, obj) should be PyErr_FormatUnraisable("Exception ignored in: %R", obj).
Linked PRs
encukou, Eclips4 and Privat33r-dev