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 waltermundt
Recipients bethard, tshepang, waltermundt
Date 2012-06-22.21:54:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached is a patch to fix this bug by deferring matching of nargs='*' argument against a zero-length pattern until the end of the arguments list.

I believe that it ought to be maximally conservative in that it should not change the behavior of any existing parsers except in cases where it allows them to accept arguments they would previously have left unrecognized in cases like the test in the initial report.
Date User Action Args
2012-06-22 21:54:43waltermundtsetrecipients: + waltermundt, bethard, tshepang
2012-06-22 21:54:43waltermundtsetmessageid: <>
2012-06-22 21:54:43waltermundtlinkissue15112 messages
2012-06-22 21:54:42waltermundtcreate