The importance of using Library Functions
dtolton at yahoo.com
Wed Aug 13 21:46:33 CEST 2003
On Wed, 13 Aug 2003 10:35:38 -0400, Peter Hansen <peter at engcorp.com>
>Doug Tolton wrote:
>> Interestingly TextWrap choked on the text I'm running it against. I'm
>> sure it's more an issue of complete craziness in these files than an
>> actual problem with TextWrap.
>I believe textwrap.py has some fairly extensive unit tests.** Could
>you please post your failing example (if it's not too big), or email
>it to me and/or Greg Ward to investigate? Thanks.
>** (I believe this since Greg wrote them and I ported them to PyUnit.
>I don't know if that's what's still with the module in Py2.3.)
The Text field it was trying to wrap was over 3.6 million characters.
I haven't yet had a chance to look and see what specifically was
causing it to fail.
I'll poke around with it today and see if I can figure it out. I'll
post a status update later today.
More information about the Python-list