Textwrap doesn't honour NO-BREAK SPACE

Terry Reedy tjreedy at udel.edu
Fri Sep 29 11:35:15 EDT 2017


On 9/29/2017 2:35 AM, Steve D'Aprano wrote:
> On Fri, 29 Sep 2017 03:55 pm, Terry Reedy wrote:
> 
>>> Expected result:
>>>
>>>
>>> Lorum ipsum dolor sit amet, consectetur adipiscing elit
>>> ZZZ ZZZ sed do euismod tempor incididunt ut labore et
>>> dolore magna aliqua.
>>
>> On Windows 10, I get this on 2.7, 3.5, 3.6, 3.7.

> Sorry Terry, it isn't clear to me which result (expected, or actual) is "this"
> in your comment.

The expected result.  I also should have specified 3.5.4, etc, which 
Wolfgang reported should have the backported fix.  So, you are correct 
that what you saw is/was a bug.

-- 
Terry Jan Reedy




More information about the Python-list mailing list