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 <1340402083.64.0.773456971525.issue15112@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-06-22 21:54:43waltermundtsetrecipients: + waltermundt, bethard, tshepang
2012-06-22 21:54:43waltermundtsetmessageid: <1340402083.64.0.773456971525.issue15112@psf.upfronthosting.co.za>
2012-06-22 21:54:43waltermundtlinkissue15112 messages
2012-06-22 21:54:42waltermundtcreate