Message363210
That lambda function would not give the same result, as it would constrain the text width to a fixed value, while my proposal would just set a maximum limit (if the terminal is narrower, the actual text width would be reduced).
With the current implementation all possible solutions are in my opinion overkilling for such a basic task. Maybe it is not a direct consequence of this, but as a matter of fact most Python scripts using `argparse` that I know (including `pip`) do not control the text width, which IMHO is not a good practice. |
|
Date |
User |
Action |
Args |
2020-03-02 21:24:36 | lucatrv | set | recipients:
+ lucatrv, rhettinger, paul.j3 |
2020-03-02 21:24:36 | lucatrv | set | messageid: <1583184276.37.0.0621539494076.issue39809@roundup.psfhosted.org> |
2020-03-02 21:24:36 | lucatrv | link | issue39809 messages |
2020-03-02 21:24:35 | lucatrv | create | |
|