[issue15125] argparse: positional arguments containing - in name not handled well

2014-08-23 Thread Keith Hughitt

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 
<http://bugs.python.org/issue15125>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15125] argparse: positional arguments containing - in name not handled well

2014-08-19 Thread Keith Hughitt

Keith Hughitt added the comment:

Any progress on this issue? Still persists in Python 3.4.1.

--
nosy: +khughitt

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