[issue35049] argparse.ArgumentParser fails on arguments with leading dash and comma

2018-10-23 Thread Lene Preuss
Change by Lene Preuss : -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue35049> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35049] argparse.ArgumentParser fails on arguments with leading dash and comma

2018-10-23 Thread Lene Preuss
New submission from Lene Preuss : Obligatory apologies if this has been reported before, I could not find it. It is similar to but different from https://bugs.python.org/issue9334. >>> from argparse import ArgumentParser >>> p = ArgumentParser() >>> p.add_