Author steven.daprano
Recipients steven.daprano
Date 2017-01-17.03:08:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484622521.42.0.0580919403747.issue29290@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-17 03:08:41steven.dapranosetrecipients: + steven.daprano
2017-01-17 03:08:41steven.dapranosetmessageid: <1484622521.42.0.0580919403747.issue29290@psf.upfronthosting.co.za>
2017-01-17 03:08:41steven.dapranolinkissue29290 messages
2017-01-17 03:08:40steven.dapranocreate