Robert Benson added the comment:
What I'm talking about is reading a single arg (of a dictionary or collection
type) that can be split across multiple lines, rather than a single line
containing multiple args
My motivation was that reading args from a file should behave in a manner
similar
New submission from Robert Benson :
Using `argparse`, I wanted to create an argument that was a JSON dictionary. I
found that using this in combination with the `fromfile_prefix_args` keyword
argument, that the parser assumes that each argument provided in the file must
be on a single line
Change by Robert Benson :
--
versions: -Python 2.7
___
Python tracker
<https://bugs.python.org/issue35005>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Robert Benson :
--
components: Library (Lib)
nosy: derelbenkoenig
priority: normal
severity: normal
status: open
title: argparse should accept json and yaml argument types
type: enhancement
___
Python tracker
<https://bugs.python.
Change by Robert Benson :
--
versions: +Python 2.7
___
Python tracker
<https://bugs.python.org/issue35005>
___
___
Python-bugs-list mailing list
Unsubscribe: