New submission from Chris:

argparse does not handle Store actions correctly when "nargs = 1" is provided. 
The documentation indicates the value should be assigned to the dest, but 
instead a list with the value as the only item is assigned to dest.

----------
files: test_argparse.py
messages: 279686
nosy: Flux
priority: normal
severity: normal
status: open
title: argparse Incorrect Handling of Store Actions
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file45266/test_argparse.py

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

Reply via email to