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 paul.j3
Recipients Danh, atfrase, bethard, paul.j3, wm
Date 2013-05-09.08:01:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368086493.28.0.530351863485.issue11354@psf.upfronthosting.co.za>
In-reply-to
Content
I think this patch should build on http://bugs.python.org/issue9849, which seeks to improve the error checking for nargs.  There, add_argument returns an ArgumentError if the nargs value is not a valid string, interger, or it there is mismatch between a tuple metavar and nargs.  

This range nargs should be tested at the same time, and return a ArgumentError if possible.
History
Date User Action Args
2013-05-09 08:01:33paul.j3setrecipients: + paul.j3, bethard, Danh, wm, atfrase
2013-05-09 08:01:33paul.j3setmessageid: <1368086493.28.0.530351863485.issue11354@psf.upfronthosting.co.za>
2013-05-09 08:01:33paul.j3linkissue11354 messages
2013-05-09 08:01:32paul.j3create