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 bethard, eric.araujo, htnieman, manveru, paul.j3, tshepang, vajrasky, xuanji, ysj.ray
Date 2014-04-18.22:09:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397858942.92.0.244707252518.issue11874@psf.upfronthosting.co.za>
In-reply-to
Content
Another example of code hitting this AssertionError.  Here the problem was a space in the option argument, '--out '.

http://stackoverflow.com/questions/23159845/python-argparse-assertionerror

'parser.add_argument('-o', '--out ', help='b', required = True)'

That space would have cause problems later when trying access the 'args' attributes.  But producing the error during the help formatting didn't help.
History
Date User Action Args
2014-04-18 22:09:03paul.j3setrecipients: + paul.j3, bethard, eric.araujo, ysj.ray, xuanji, tshepang, htnieman, manveru, vajrasky
2014-04-18 22:09:02paul.j3setmessageid: <1397858942.92.0.244707252518.issue11874@psf.upfronthosting.co.za>
2014-04-18 22:09:02paul.j3linkissue11874 messages
2014-04-18 22:09:02paul.j3create