Author paul.j3
Recipients bethard, chris.jerdonek, gfxmonk, martin.panter, paul.j3, tshepang, waltermundt
Date 2014-07-01.00:14:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404173674.71.0.830766126174.issue15112@psf.upfronthosting.co.za>
In-reply-to
Content
I believe http://bugs.python.org/issue14174 with REMAINDER has its roots in the same issue - parse_args tries to process as many positionals as it can at a time, regardless of what's left in the argument strings.

The fix proposed here depends on the 2nd argument taking 0 strings.  REMAINDER, on the other hand, grabs everything that's left, leaving none for the optionals.
History
Date User Action Args
2014-07-01 00:14:35paul.j3setrecipients: + paul.j3, bethard, gfxmonk, chris.jerdonek, tshepang, martin.panter, waltermundt
2014-07-01 00:14:34paul.j3setmessageid: <1404173674.71.0.830766126174.issue15112@psf.upfronthosting.co.za>
2014-07-01 00:14:34paul.j3linkissue15112 messages
2014-07-01 00:14:34paul.j3create