paul j3 added the comment:

http://bugs.python.org/issue14191
'argparse doesn't allow optionals within positionals'

implements a 'parse_intermixed_args()' method, which parses all of the 
optionals with one pass, followed by a second pass that handles the 
positionals.  It does this by temporarily deactivating the positionals for the 
first pass.  It emulates the optparse behavior (with the added ability to parse 
positionals).

This is too big of a change to ever become the default behavior for argparse.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to