[issue24338] In argparse adding wrong arguments makes malformed namespace
Matthias Bussonnier
report at bugs.python.org
Mon Jun 1 01:30:38 CEST 2015
Matthias Bussonnier added the comment:
Maybe the __repr__ of _AttributeHolder should be changed so that invalid args are shown as unpacked dict in the signature ?
Something that would :
>>> argparse.Namespace(**{'foo bar':1})
argparse.Namespace(**{'foo bar':1})
----------
nosy: +mbussonn
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24338>
_______________________________________
More information about the Python-bugs-list
mailing list