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 ustinov
Recipients ustinov
Date 2013-10-31.17:32:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383240778.45.0.779487488351.issue19462@psf.upfronthosting.co.za>
In-reply-to
Content
In order to migrate from optparse to argparse we need to have an ability to substitute anguments, e.g. remove and then create.

In our framework we use the command line utility base class and then inherit the particular tools from it. The parser in base class uses add_argument() to populate the general argument list but for some tools it is needed to modify the inherited arguments set and make some arguments to have the modified meaning.

With optparse we've just used remove_option() and then added the modified one with add_option() but argparse currently does not have this functionality.

For the purpose above we just need to have remove_argument() or modify_argument() methods in orgparse
History
Date User Action Args
2013-10-31 17:32:58ustinovsetrecipients: + ustinov
2013-10-31 17:32:58ustinovsetmessageid: <1383240778.45.0.779487488351.issue19462@psf.upfronthosting.co.za>
2013-10-31 17:32:58ustinovlinkissue19462 messages
2013-10-31 17:32:58ustinovcreate