[issue24338] In argparse adding wrong arguments makes malformed namespace
Serhiy Storchaka
report at bugs.python.org
Sun May 31 16:51:32 CEST 2015
Serhiy Storchaka added the comment:
They are accessible.
>>> getattr(args, 'foo bar')
'abc'
The limitation that argument names should be Python identifiers is too strong and adding it will break existing code (for example the use of such popular options as -0 or -@).
----------
nosy: +serhiy.storchaka
resolution: -> rejected
status: open -> pending
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24338>
_______________________________________
More information about the Python-bugs-list
mailing list