[issue28409] test.regrtest does not support multiple -x flags

STINNER Victor report at bugs.python.org
Mon Oct 17 15:04:42 EDT 2016


STINNER Victor added the comment:

Serhiy Storchaka added the comment:
> What is the difference between using parse_known_args() and
nargs=argparse.REMAINDER?

Using REMAINDER, args become ["b", "-c", "d"] for -a b -c d.

I would be happy to not use parse_known_args(), but I didn't find how.

----------

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


More information about the Python-bugs-list mailing list