[issue35005] argparse should accept json and yaml argument types

2018-10-17 Thread Robert Benson
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

[issue35005] argparse should accept json and yaml argument types

2018-10-16 Thread Robert Benson
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

[issue35005] argparse should accept json and yaml argument types

2018-10-16 Thread Robert Benson
Change by Robert Benson : -- versions: -Python 2.7 ___ Python tracker <https://bugs.python.org/issue35005> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35005] argparse should accept json and yaml argument types

2018-10-16 Thread Robert Benson
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.

[issue35005] argparse should accept json and yaml argument types

2018-10-16 Thread Robert Benson
Change by Robert Benson : -- versions: +Python 2.7 ___ Python tracker <https://bugs.python.org/issue35005> ___ ___ Python-bugs-list mailing list Unsubscribe: