diff --git a/Objects/object.c b/Objects/object.c index e94480f7e99..ae76e33e1f4 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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");