[issue9571] argparse: Allow the use of -- to break out of nargs and into subparser

R. David Murray report at bugs.python.org
Thu Aug 12 03:45:05 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

It looks like, if accepted, this would be a feature request,so I'm marking it as such and setting versions to 3.2.  You'd have to provide a patch pretty soon to get it in to 3.2, though.

However, I'm guessing that this is something better off implemented via subclassing in your code, since it sounds like a fairly unusual command pattern.  (I've only ever seen options after a -- in a unix comand when those options were being passed unparsed to some *other* command that the first command was a wrapper for.)

I've added Steven as nosy, we'll see what he thinks.

----------
nosy: +bethard, r.david.murray
type: behavior -> feature request
versions:  -Python 2.7, Python 3.1, Python 3.3

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


More information about the Python-bugs-list mailing list