Closed petriborg closed 7 years ago
Are you using python3.5? It has argparse builtin (in stdlib), so you do not need this package, it is only for python 2.6 users.
Bug reports for argparse in the stdlib should go into the python issue tracker.
So is this repo just a backport of whatever is in stdlib? Since this was labeled 1.4 I was hoping it was a newer version that might have already fixed the bug I ran into.
Apparently it is this issue (with yet to be applied patch) for 2.7, 3.4, and 3.5.
I got some helpful hacks from Stackoverflow that might help others work around the bug.
It was backported some time ago from a version in stdlib and since then has independent versioning.
Argparse 1.1 or 1.4 fails with AssertionError - the weird regex that reads the metavar value seems to blow up argparse.