[stdlib-sig] should we try to add argparse?

Brett Cannon brett at python.org
Sun Sep 13 22:01:43 CEST 2009


On Sun, Sep 13, 2009 at 12:43, Collin Winter <collinw at gmail.com> wrote:
> On Thu, Sep 10, 2009 at 3:56 PM, Brett Cannon <brett at python.org> wrote:
>> Upfront people need to realize that we might have three argument
>> parsing libraries for a while, but it won't be forever. If we get
>> argparse accepted we would slowly deprecate at least optparse, if not
>> getopt (lat time I tried to ditch getopt for Python 3 some argued that
>> getopt supported stuff optparse didn't), out of the standard library
>> and toss them into PyPI for those who refuse to switch. The standard
>> library might not evolve a lot, but it isn't dead or in stone.
>>
>> But before this can happen, people need to have a general consensus
>> that I should bug Steven about contributing as it will require a PEP
>> from him. Steven already has commit privileges to maintenance from him
>> will not be a problem.
>>
>> So if you want this to actually happen and for me to start talking to
>> Steven just reply to this email w/ a vote.
>>
>> I am +0
>
> Brett, if you and Steven could work up a PEP on this subject, I think
> that would go a long way toward moving the discussion about our option
> parsing options forward. Having a concrete PEP to discuss will be more
> useful and more focused than debating the abstract principles at play.

I was actually planning on sending this email after I finished
checking my inbox. There seems to be enough support to warrant Steven
doing the PEP. We can then see what python-dev ends up thinking of the
whole thing.

-Brett


More information about the stdlib-sig mailing list