Message75037
The attached patch makes textwrap work with strings containing dashes
and Unicode alphabetic characters. In addition, it fixes the test case
for issue 1149508, which no longer failed after temporarily undoing the
corresponding change.
Example 1:
print textwrap.fill(u'Die Empfänger-Auswahl', 13)
Output without patch:
Die Empf
änger-Auswahl
With patch:
Die
Empfänger-
Auswahl
Example 2:
print textwrap.fill(u'aa ää-ää', 7)
Output without patch:
aa
ää-ää
With patch:
aa ää-
ää |
|
Date |
User |
Action |
Args |
2008-10-21 20:05:23 | skirsche | set | recipients:
+ skirsche |
2008-10-21 20:05:23 | skirsche | set | messageid: <1224619523.16.0.79700210606.issue4163@psf.upfronthosting.co.za> |
2008-10-21 20:05:22 | skirsche | link | issue4163 messages |
2008-10-21 20:05:21 | skirsche | create | |
|