Textwrap doesn't honour NO-BREAK SPACE

Steve D'Aprano steve+python at pearwood.info
Fri Sep 29 12:43:34 EDT 2017


On Fri, 29 Sep 2017 07:11 pm, Wolfgang Maier wrote:

> On 29.09.2017 11:05, Wolfgang Maier wrote:
>> On 29.09.2017 07:25, Steve D'Aprano wrote:
>>> I'm pretty sure this is a bug.
>>>
>> 
>> Yes, it is a bug, but a known one: https://bugs.python.org/issue20491
>> 
>> The fix got backported even to 3.5, but I guess it depends which minor
>> version you are running. I'm pretty sure that explains why people report
>> different outcomes.
>> 
>> Best,
>> Wolfgang
>> 
> 
> To be specific, this should be fixed from 3.5.3 and 3.6.0b3 onwards.

Thanks everyone who answered.




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list