[issue38584] argparse: Specifying a whitespace-only help message to a positional arg triggers an IndexError when displaying --help

paul j3 report at bugs.python.org
Thu Oct 24 20:12:05 EDT 2019


paul j3 <ajipanca at gmail.com> added the comment:

Just today on SO someone found a similar bug in the help format with metavars, that involved an unpacking the expected only one value, but got 2.

https://stackoverflow.com/questions/58541460/tuple-metavar-value-for-positional-argument-with-nargs-1

This had be raise years ago, as https://bugs.python.org/issue14074

----------

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


More information about the Python-bugs-list mailing list