[Python-bugs-list] [ python-Bugs-726446 ] textwrap.wrap infinite loop
SourceForge.net
noreply@sourceforge.net
Wed, 23 Apr 2003 12:31:42 -0700
Bugs item #726446, was opened at 2003-04-23 13:59
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=726446&group_id=5470
Category: Python Library
>Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Petrone (jpetrone)
>Assigned to: Greg Ward (gward)
Summary: textwrap.wrap infinite loop
Initial Comment:
textwrap.wrap appears to go into an infinite loop
when called with a width <= 0. I don't know what the
correct
behavior here should be, but I'm guessing this isn't it.
Maybe it should be throwing an exception?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=726446&group_id=5470