[issue9338] argparse optionals with nargs='+' can't be followed by positionals

Daniel Albeseder report at bugs.python.org
Sat Nov 20 20:05:03 CET 2010

Daniel Albeseder <kotan at gmx.at> added the comment:

My attached patch adds the "--" between the optionals and the arguments, if there are optionals which have variable length and at least some positional argument can be provided.

Patch is for python 3.2 svn revision 86553.

nosy: +Kotan
Added file: http://bugs.python.org/file19691/issue9338_argparse.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list