def _default_post_resolution_check(
    arr_x: ndarray,
    arr_y: ndarray,
    obj_x: Any,
    obj_y: Any,
    op_code: BinaryOpCode,
) -> tuple[ndarray, ndarray, BinaryOpCode]:
    """Check whether Python integers fit into integer operand dtypes.
    This check is overloaded by comparisons to always succeed.
    """
    if type(obj_x) is int and arr_x.dtype.kind in "iu":
        # Check if original Python integer fits first operand.
        arr_x.dtype.type(obj_x)
    if type(obj_y) is int and arr_y.dtype.kind in "iu":
        # Check if original Python integer fits second operand.
        arr_y.dtype.type(obj_y)

    return arr_x, arr_y, op_code
Check whether Python integers fit into integer operand dtypes.
    This check is overloaded by comparisons to always succeed.
    
cupynumeric/_ufunc/ufunc.py