[Python-ideas] Python 3.4 should include docopt as-is
solipsis at pitrou.net
Mon Sep 30 10:17:59 CEST 2013
Le Sun, 29 Sep 2013 07:50:35 +0200,
Georg Brandl <g.brandl at gmx.net> a écrit :
> 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.
Agreed. It's also not the most appealing API IMO.
More information about the Python-ideas