[issue15906] argparse add_argument() confusing behavior when type=str, default=
Barry A. Warsaw
report at bugs.python.org
Wed Sep 12 17:48:39 CEST 2012
Barry A. Warsaw added the comment:
On Sep 12, 2012, at 03:40 PM, Steven Bethard wrote:
>Ok, sounds good. Let's make the test check the documented behavior, and then
>add back the isinstance(action.default, str) check.
See patch 15906-3.diff for Python 2.7. If acceptable, I will apply and
forward port it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15906>
_______________________________________
More information about the Python-bugs-list
mailing list