[issue4256] optparse: provide a simple way to get a programmatically useful list of options

Steven Bethard report at bugs.python.org
Sun Apr 4 05:26:18 CEST 2010


Steven Bethard <steven.bethard at gmail.com> added the comment:

Someone pointed this out to me earlier:

http://pypi.python.org/pypi/genzshcomp

I believe it's trying to solve the same problem, and claims to work with both optparse and argparse, so it might be worth looking into what it's doing and seeing if there's a useful patch that could be proposed for argparse.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4256>
_______________________________________


More information about the Python-bugs-list mailing list