New submission from Erik Ahlén <erik.ah...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38736>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to