Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix format specifier in parse_task_name() for PyLong result
  • Loading branch information
sunmy2019 committed Mar 31, 2026
commit 8ebdba516bdb77e97b99897a17189b88bf683978
2 changes: 1 addition & 1 deletion Modules/_remote_debugging_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ parse_task_name(
set_exception_cause(unwinder, PyExc_RuntimeError, "Task name PyLong parsing failed");
return NULL;
}
return PyUnicode_FromFormat("Task-%d", res);
return PyUnicode_FromFormat("Task-%ld", res);
}

if(!(GET_MEMBER(unsigned long, type_obj, unwinder->debug_offsets.type_object.tp_flags) & Py_TPFLAGS_UNICODE_SUBCLASS)) {
Expand Down
Loading