This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skirsche
Recipients skirsche
Date 2008-10-21.20:05:19
SpamBayes Score 3.754123e-07
Marked as misclassified No
Message-id <1224619523.16.0.79700210606.issue4163@psf.upfronthosting.co.za>
In-reply-to
Content
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 ää-
    ää
History
Date User Action Args
2008-10-21 20:05:23skirschesetrecipients: + skirsche
2008-10-21 20:05:23skirschesetmessageid: <1224619523.16.0.79700210606.issue4163@psf.upfronthosting.co.za>
2008-10-21 20:05:22skirschelinkissue4163 messages
2008-10-21 20:05:21skirschecreate