[docs] [issue15125] argparse: positional arguments containing - in name not handled well

Simon Law report at bugs.python.org
Sat Nov 3 20:25:20 CET 2012


Simon Law added the comment:

15125-2.patch applies to the default branch.

It makes dest behave the same for positional and optional arguments in terms of name mangling.

Also, there is a backward-compatibility path in Namespace to support old-style getattr() access. However, it's not documented as we really don't want people to use it.

----------
Added file: http://bugs.python.org/file27863/15125-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15125>
_______________________________________


More information about the docs mailing list