[Python-Dev] PEP 389: argparse - new command line parsing module (original) (raw)

Kevin Jacobs jacobs@bioinformed.com bioinformed at gmail.com
Mon Sep 28 02:43:16 CEST 2009


On Sun, Sep 27, 2009 at 8:31 PM, Fernando Perez <fperez.net at gmail.com>wrote:

On Sun, 27 Sep 2009 14:57:34 -0700, Brett Cannon wrote:

> I am going to state upfront that I am +1 for this and I encouraged > Steven to submit this PEP on the stdlib-SIG. I still remember watching > Steven's lightning talk at PyCon 2009 on argparse and being impressed by > it (along with the rest of the audience which was obviously impressed as > well). > > I think argprase is a good improvement over what we have now (getopt and > optparse), it's stable, considered best-of-breed by the community for a > while (as shown as how many times argparse has been suggestion for > inclusion), and Steven is already a core committer so is already set to > maintain the code. That covers the usual checklist we have for even > looking at a PEP to add a module to the standard library. FWIW, +1 from IPython: we ship a private copy of argparse as well (we use it in several places but we want the basic ipython to be installable just with the stdlib). Steven was gracious enough to relicense it as BSD at our request:

+1

Coincidentally I was converting several packages to argparse as I saw the python-dev mail come in. A great deal of hairy code needed to jury-rig sub-commands and other "advanced processing" with optparse is simply disappearing. I like the idea that stdlib can evolve to encompass best of breed solutions and that effort is being expended to improve existing functionality even if it means increasing the diversity of APIs.

~Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20090927/62b3a2f2/attachment.htm>



More information about the Python-Dev mailing list