[docs] [issue14191] argparse doesn't allow optionals within positionals
report at bugs.python.org
Thu May 30 07:49:34 CEST 2013
Glenn Linderman added the comment:
These sound like good refinements. You've been thinking. By making the fallback happen externally, it simplifies the implementation of parse_intermixed_args, and forces the application to accept responsibility for calling it with a consistent set of arguments, or calling something else. I like that. I don't really see the fallback as a particularly useful feature, so pushing it outside the stdlib, yet still making it simple to implement for any that do find it to be useful, seems like a good tradeoff.
Python tracker <report at bugs.python.org>
More information about the docs