Issue 1212928: new patch for fixing skipitem() in getargs.c (original) (raw)

This patch subsumes #985713 and #853890.

In Python/getargs.c, the function skipitem() has not been updated with new argument format codes, such as u, u#, w, w# etc. This is corrected with this patch.

There are two possibilities: either all new codes are added to the switch statement (this is the file getargs-skipitem-diff), or the function is rewritten so that there is no need for a switch (because the pointer type for va_arg is irrelevant). That solution is in the file new_skipitem.c.

Remaining issue: I don't know if the '(...)' formatting code should be handled here.