Steven Bethard <[email protected]> added the comment:
Maybe dont_assume_everything_that_looks_like_a_flag_is_intended_to_be_one
should actually be a new class, e.g.
parser = AllowFlagsAsPositionalArgumentsArgumentParser()
Then you just wouldn't provide parse_known_args on that parser.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9334>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com