[Python-ideas] Python 3.4 should include docopt as-is

Georg Brandl g.brandl at gmx.net
Sun Sep 29 07:50:35 CEST 2013


Am 28.09.2013 22:28, schrieb Terry Reedy:
> On 9/28/2013 6:42 AM, Ned Batchelder wrote:
>> On 9/28/13 12:44 AM, anatoly techtonik wrote:
>>> This - http://docopt.org/ - should be included with Python 3.4
>>> distribution.
>>
>> In addition to the other questions already asked, you haven't answered
>> the fundamental one: Why should docopt be included in the stdlib?  It's
>> right there in PyPI where any one can get it.  Why is it better in the
>> stdlib than in PyPI?
> 
> The stdlib has mostly switched from using optparse to argparse. The next 
> question is what relation docopt has to either?? What is its backend? 
> Anyway, it strikes be as a wrapper module best kept as third party, 
> similar to re and urllib wrappers.

Especially since it's one of the more "magical" argument parsers, which is
fine as a library but not something we like to put in the standard library.

cheers,
Georg



More information about the Python-ideas mailing list