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, dsuch, eric.araujo, paul.j3, tim.golden
Date 2014-07-06.05:56:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404626216.94.0.25180262627.issue10190@psf.upfronthosting.co.za>
In-reply-to
Content
Apart from sorting, `_get_kwargs` does little more than:

    return [k for k in action.__dict__.items() if not k[0].startswith('_')]

That is, it's the `items()` of the 'public' attributes of the action (or parser).  Those attributes are already accessible to the code that is using 'argparse'.
History
Date User Action Args
2014-07-06 05:56:57paul.j3setrecipients: + paul.j3, dsuch, bethard, tim.golden, eric.araujo
2014-07-06 05:56:56paul.j3setmessageid: <1404626216.94.0.25180262627.issue10190@psf.upfronthosting.co.za>
2014-07-06 05:56:56paul.j3linkissue10190 messages
2014-07-06 05:56:56paul.j3create