[New-bugs-announce] [issue38736] argparse: wrong type from get_default when type is set

Erik Ahlén report at bugs.python.org
Thu Nov 7 10:40:47 EST 2019


New submission from Erik Ahlén <erik.ahlen at gmail.com>:

The type of the object returned by get_default isn't converted to the specified type supplied to add_argument. I would expect the type to be the same.

----------
components: Library (Lib)
files: test.py
messages: 356194
nosy: Erik Ahlén
priority: normal
severity: normal
status: open
title: argparse: wrong type from get_default when type is set
type: enhancement
versions: Python 3.7
Added file: https://bugs.python.org/file48700/test.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38736>
_______________________________________


More information about the New-bugs-announce mailing list