Skip to content

Commit 916e8b7

Browse files
committed
add debugging 2
1 parent a4a5b7c commit 916e8b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/_testexternalinspection.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,7 @@ parse_task_name(
713713
}
714714

715715
if(!(flags & Py_TPFLAGS_UNICODE_SUBCLASS)) {
716-
PyErr_Format(PyExc_RuntimeError, "Task name is neither a string nor a long: %d", flags);
717-
return NULL;
716+
return PyUnicode_FromString("????");
718717
}
719718

720719
return read_py_str(

0 commit comments

Comments
 (0)