paul j3 added the comment:

I mentioned in the related bug/issue that no one has to use odd characters and 
spaces in the Namespace.  While they are allowed by 'getattr' etc, the 
programmer has the option of supplying rational names in the 'dest' parameter.  

There's also the question of what kinds of strings can you supply via  
'sys.argv'.  For example, I have to use quotes to enter

    $ python echoargv.py '--b=2), Namespace(c' test

Without them 'bash' gives me an error.

Strings like this may be nice for exercising a patch, they may not be realistic 
in full argparse context.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24360>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to