bpo-36389: Add newline to _PyObject_AssertFailed() (GH-16629)
Add a newline between the verbose object dump and the Py_FatalError() logs for readability.
This commit is contained in:
parent
e310af9e29
commit
7775349895
|
@ -2187,6 +2187,9 @@ _PyObject_AssertFailed(PyObject *obj, const char *expr, const char *msg,
|
|||
/* This might succeed or fail, but we're about to abort, so at least
|
||||
try to provide any extra info we can: */
|
||||
_PyObject_Dump(obj);
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
fflush(stderr);
|
||||
}
|
||||
|
||||
Py_FatalError("_PyObject_AssertFailed");
|
||||
|
|
Loading…
Reference in New Issue