[issue20491] textwrap: Non-breaking space not honored

2014-02-04 Thread Kaarle Ritvanen
Changes by Kaarle Ritvanen : Added file: http://bugs.python.org/file33911/honor-non-breaking-spaces.patch ___ Python tracker <http://bugs.python.org/issue20491> ___ ___

[issue20491] textwrap: Non-breaking space not honored

2014-02-03 Thread Kaarle Ritvanen
Changes by Kaarle Ritvanen : Added file: http://bugs.python.org/file33890/textwrap-honor-non-breaking-spaces.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20491] textwrap: Non-breaking space not honored

2014-02-02 Thread Kaarle Ritvanen
New submission from Kaarle Ritvanen: The textwrap module does not distinguish non-breaking space (\xa0) from other whitespace when determining word boundaries. In the beginning of the module, the _whitespace variable is defined to address this issue but is not used in the regular expressions

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2012-10-09 Thread Kaarle Ritvanen
New submission from Kaarle Ritvanen: Tab completion in the readline module does not seem to work well with Unicode terminals. The get_line_buffer function converts the line buffer to the str type (which are Unicode strings in Python 3), but the indices returned by get_begidx and get_endidx