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 vinay.sajip
Recipients bethard, chriz, eric.araujo, ned.deily, pwil3058, tshepang, vinay.sajip
Date 2012-06-26.13:56:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340718991.71.0.873825101685.issue12713@psf.upfronthosting.co.za>
In-reply-to
Content
You could consider just a small refinement: in the first loop in _SubParsersAction.__call__ where you look for the abbreviation, you can just set parser_name = p and break. Then the logic just below that can stay as it is: all you've done is morphed the abbreviation to the full command name.
History
Date User Action Args
2012-06-26 13:56:32vinay.sajipsetrecipients: + vinay.sajip, bethard, ned.deily, eric.araujo, pwil3058, tshepang, chriz
2012-06-26 13:56:31vinay.sajipsetmessageid: <1340718991.71.0.873825101685.issue12713@psf.upfronthosting.co.za>
2012-06-26 13:56:31vinay.sajiplinkissue12713 messages
2012-06-26 13:56:30vinay.sajipcreate