]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug 797650: Infinite loop in textwrap.py
authorRaymond Hettinger <python@rcn.com>
Sat, 30 Aug 2003 14:52:35 +0000 (14:52 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 30 Aug 2003 14:52:35 +0000 (14:52 +0000)
commit48ced318cd01e332c1bde56b3575d531d61046cc
treebc5f9943c7419968237ada9a5d93af35c3e71891
parent9924351f3204a13336b32579933031ca14ef2bfc
SF bug 797650: Infinite loop in textwrap.py

When the indents were set to longer than the width and long word breaking
was enabled, an infinite loop would result because the inner loop did not
assure that at least one character was stripped off on every pass.
Lib/test/test_textwrap.py
Lib/textwrap.py
Misc/NEWS