Fix final remaining Py_ patterns

- Fixed Py_CONSTANT_* → Ty_CONSTANT_*
- Fixed Py_UNREACHABLE → Ty_UNREACHABLE
- Fixed Py_*_input constants (file_input, single_input, eval_input, func_type_input)
- Fixed _Py_COMP_DIAG_* compiler diagnostic macros

Build continues to progress toward completion.

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-29 18:43:58 +00:00
parent 0f2e4eb3fd
commit 4880786dfa
8 changed files with 17 additions and 17 deletions

View File

@@ -127,7 +127,7 @@ expr_context_name(expr_context_ty ctx)
return "Del";
// No default case so compiler emits warning for unhandled cases
}
Py_UNREACHABLE();
Ty_UNREACHABLE();
}
static int

View File

@@ -107,7 +107,7 @@ context_event_name(PyContextEvent event) {
default:
return "?";
}
Py_UNREACHABLE();
Ty_UNREACHABLE();
}
static void