Issue 893549: skipitem() in getargs.c missing some types (original) (raw)
Logged In: YES user_id=1188172
The missing types are u, u#, es, es#, et, et#, k, K, I, U, t#, w, w# and maybe (...)
I don't know whether this is of any significance though.
Logged In: YES user_id=639504
It matters all right. Just wasted a bunch of time tracking this down into the Python sources and confirming it was a Python bug. It's really nasty for 'es'.
This will cause bizarre errors for PyArg_ParseTupleAndKeywords(...) calls using the unsupported format strings after the | optional argument barrier. The errors will always contain the string:
impossible
The error will, of course, only turn up if the user omits one or more of the arguments with unsupported formats.