Author paul.j3
Recipients bethard, eric.araujo, htnieman, manveru, paul.j3, tshepang, vajrasky, xuanji, ysj.ray
Date 2013-07-14.21:41:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373838100.99.0.938643913287.issue11874@psf.upfronthosting.co.za>
In-reply-to
Content
If the arg_parts are passed through the same cleanup as the 'text' (and empty strings removed), then 

    text = ' '.join(arg_parts)

In that case there would be no need to return both (text, arg_parts).

Parenthesis in the metavar could also create the problem addressed in this thread, except as noted in http://bugs.python.org/issue18349 that 'text' cleanup removes them.

nargs='*' or '+' or integer is another way in which [] could be introduced into the metavar.
History
Date User Action Args
2013-07-14 21:41:41paul.j3setrecipients: + paul.j3, bethard, eric.araujo, ysj.ray, xuanji, tshepang, htnieman, manveru, vajrasky
2013-07-14 21:41:40paul.j3setmessageid: <1373838100.99.0.938643913287.issue11874@psf.upfronthosting.co.za>
2013-07-14 21:41:40paul.j3linkissue11874 messages
2013-07-14 21:41:40paul.j3create