[New-bugs-announce] [issue28558] argparse Incorrect Handling of Store Actions

Chris report at bugs.python.org
Sat Oct 29 13:21:51 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue28558>
_______________________________________


More information about the New-bugs-announce mailing list