Keith Hughitt added the comment:

Although it would be nice if the behavior were normalized between positional 
and optional args, it seems like doc patch would be the most straight-forward 
at this point. The down-side is that I suspect many people will assume the 
behavior for optional args, have it fail, and then consults the docs to see 
what happened.

I would suggest making the note pretty obvious or early on in the docs for 
argparse.

----------

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

Reply via email to