More detailed error message about exception in __del__
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 9b12d18..4ac6a0e 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -406,9 +406,12 @@
 		if (res == NULL) {
 			PyObject *f = sysget("stderr");
 			err_clear();
-			if (f != NULL)
-				writestring(
-				  "exception in __del__ method ignored\n", f);
+			if (f != NULL) {
+				writestring("exception in ", f);
+				writestring(PyString_AsString(
+					inst->in_class->cl_name), f);
+				writestring(".__del__() ignored\n", f);
+			}
 		}
 		else
 			DECREF(res);