This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author VHalperin
Recipients VHalperin
Date 2016-02-24.14:46:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Two functions read the format string in Python/getargs.c: convertitem() for present arguments and skipitem() for missing ones. They must agree on the format; in fact, a comment to this effect is written right above convertitem(). Nevertheless, skipitem() only allows '*' modifier with 's' and 'z' formats, unlike convertitem(), that correctly processes 'w*'. As a result, 'w*' works if an array arguments is supplied, and fails if it is omitted. Suggested fix: add c == 'w' comparison to the line with *format == '*' in skipitem().
Date User Action Args
2016-02-24 14:46:29VHalperinsetrecipients: + VHalperin
2016-02-24 14:46:26VHalperinsetmessageid: <>
2016-02-24 14:46:26VHalperinlinkissue26427 messages
2016-02-24 14:46:26VHalperincreate