[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

Eric Smith report at bugs.python.org
Sun Feb 6 21:02:18 CET 2011


Eric Smith <eric at trueblade.com> added the comment:

I'd also like to see this as the default. After all, presumably we'd like Python scripts to work like all other command line programs, and I too am unaware of any other option parsing library that works the way argparse does.

But changing released behavior in the stdlib is problematic, as everyone knows.

I'll look into producing a patch to add this as optional behavior, then we can separately think about changing the default.

----------

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


More information about the Python-bugs-list mailing list