Textwrap doesn't honour NO-BREAK SPACE

Wolfgang Maier wolfgang.maier at biologie.uni-freiburg.de
Fri Sep 29 05:11:40 EDT 2017


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.




More information about the Python-list mailing list