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 eric.araujo
Recipients Daniel.Walsh, bethard, dmalcolm, eric.araujo
Date 2012-02-24.05:01:19
SpamBayes Score 3.0718013e-05
Marked as misclassified No
Message-id <1330059680.54.0.98320958016.issue14103@psf.upfronthosting.co.za>
In-reply-to
Content
There is a module that implements this for optparse: <https://hg.furius.ca/public/optcomplete/>; I contacted the author when argparse was moved to the standard library and he told me that he would like to support argparse but had to time to code it.

optcomplete is 451 physical lines long, and 211 single logical lines long (courtesy of the sloccount program).  Maybe it would be smaller after being adapted to argparse, but that’s still a large chunk of code to add, and my feeling is that it would not serve a large enough part of our users.  For example, many people use zsh, which has a wholly different completion system.  I’m also given to understand that some people use Windows.

The decision is Steven’s call, as argparse maintainer, but in my opinion the best course would be to update optcomplete to work with argparse, publish it on PyPI, collect feedback and download statistics, and if it proves solid and widely used, reconsider it for stdlib inclusion.
History
Date User Action Args
2012-02-24 05:01:20eric.araujosetrecipients: + eric.araujo, bethard, dmalcolm, Daniel.Walsh
2012-02-24 05:01:20eric.araujosetmessageid: <1330059680.54.0.98320958016.issue14103@psf.upfronthosting.co.za>
2012-02-24 05:01:19eric.araujolinkissue14103 messages
2012-02-24 05:01:19eric.araujocreate