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 eric.araujo
Recipients bethard, eric.araujo, flox, mapleoin, nstiurca, r.david.murray, tshepang
Date 2012-07-09.05:00:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341810002.23.0.567167247433.issue15125@psf.upfronthosting.co.za>
In-reply-to
Content
Isn’t the obvious workaround to pass a dest argument which is a valid identifier?  add_argument('spam-eggs', dest='spam_eggs')

Maybe argparse in 3.4 could do this transformation automatically (see how namedtuple converts anything to valid identifiers).
History
Date User Action Args
2012-07-09 05:00:02eric.araujosetrecipients: + eric.araujo, bethard, r.david.murray, flox, tshepang, nstiurca, mapleoin
2012-07-09 05:00:02eric.araujosetmessageid: <1341810002.23.0.567167247433.issue15125@psf.upfronthosting.co.za>
2012-07-09 05:00:01eric.araujolinkissue15125 messages
2012-07-09 05:00:01eric.araujocreate