Commits

larry committed efb30bd Draft

Issue #15589: Ensure double-alignment for brute-force capi argument parser test
that occasionally uses doubles.

Comments (0)

Files changed (1)

Modules/_testcapimodule.c

     int result;
     PyObject *return_value = NULL;
 
-    char buffers[32][8];
+    double buffers[8][4]; /* double ensures alignment where necessary */
 
     if (!PyArg_ParseTuple(args, "OOyO:parse_tuple_and_keywords",
         &sub_args, &sub_kwargs,