[docs] [issue14191] argparse: nargs='*' doesn't get out-of-order positional parameters

Glenn Linderman report at bugs.python.org
Sat Mar 10 02:16:34 CET 2012


Glenn Linderman <v+python at g.nevcal.com> added the comment:

Of course, if a "real" solution can only be shipped in 3.3, it may want to use a different API than parse_args to avoid the parameter, parse_intermixed_args, perhaps. But my t18.py uses the name parse_args, but just always does the intermixed parsing, so that is something to be aware of if building on that code at all, for the real solution or for sample code for older versions.

----------

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


More information about the docs mailing list