[docs] [issue16418] argparse with many choices can generate absurdly long usage message
report at bugs.python.org
Sun Nov 11 20:32:47 CET 2012
Juraj Variny added the comment:
It was Python 2.7 . But if range shouldn't be used for large number of options, arguing whether it's O(1) is splitting hairs, no?
I'll remove the choices from my code. Adding new type for port is overkill, users should know what legal TCP port numbers are.
Python tracker <report at bugs.python.org>
More information about the docs