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

Evan Driscoll report at bugs.python.org
Wed Nov 29 01:01:42 EST 2017


Evan Driscoll <evaned at gmail.com> added the comment:

One last comment for the time being.

I actually think *both* changes are valuable. Fixing the bug, well, fixes the bug if you can set the appropriate flag. The improved error message still helps for existing code and new code that *doesn't* set the flag.

----------

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


More information about the Python-bugs-list mailing list