Message285607
argparse help incorrectly breaks long lines on U+u00A0 NO-BREAK SPACE.
The attached script has been run on Python 3.5.3rc1 in a terminal window 80 columns wide, and it produces output::
usage: argparse_nobreak.py [-h] [--no-condensedxxxx]
optional arguments:
-h, --help show this help message and exit
--no-condensedxxxx Disable default font-style: condensed. Also disables "M+
1M" condensed monospace.
I expected the last line should have broken just before the "M+ 1M", rather than in the middle.
See also #20491. |
|
Date |
User |
Action |
Args |
2017-01-17 03:08:41 | steven.daprano | set | recipients:
+ steven.daprano |
2017-01-17 03:08:41 | steven.daprano | set | messageid: <1484622521.42.0.0580919403747.issue29290@psf.upfronthosting.co.za> |
2017-01-17 03:08:41 | steven.daprano | link | issue29290 messages |
2017-01-17 03:08:40 | steven.daprano | create | |
|