leonard gerard added the comment:

It seems that delaying positional argument parsing after all optional arguments 
are parsed would be clean and robust.

My understanding is that optional arguments aren't ambiguous and should be 
processed first and removed from the arguments. Then the current pattern 
matching done for positional arguments would work well (in one try).

If you think this would be a better patch I can give it a try.

----------

_______________________________________
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