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 Jason.Baker, bethard, eric.araujo, paul.j3
Date 2014-06-08.06:05:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402207534.72.0.170354924493.issue9849@psf.upfronthosting.co.za>
In-reply-to
Content
http://bugs.python.org/issue21666
raises the possibility of testing the 'help' parameter in the same way.  By adding (to _check_argument):

        # check the 'help' string
        try:
            self._get_formatter()._expand_help(action)
        except (ValueError, TypeError, KeyError) as e:
            raise ArgumentError(action, 'badly formed help string')
History
Date User Action Args
2014-06-08 06:05:34paul.j3setrecipients: + paul.j3, bethard, eric.araujo, Jason.Baker
2014-06-08 06:05:34paul.j3setmessageid: <1402207534.72.0.170354924493.issue9849@psf.upfronthosting.co.za>
2014-06-08 06:05:34paul.j3linkissue9849 messages
2014-06-08 06:05:34paul.j3create