[Python-checkins] python/dist/src/Misc NEWS,1.831.4.20,1.831.4.21

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sat Aug 30 08:52:37 EDT 2003


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv22113/Misc

Modified Files:
      Tag: release23-maint
	NEWS 
Log Message:
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.



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.831.4.20
retrieving revision 1.831.4.21
diff -C2 -d -r1.831.4.20 -r1.831.4.21
*** NEWS	30 Aug 2003 00:16:08 -0000	1.831.4.20
--- NEWS	30 Aug 2003 14:52:35 -0000	1.831.4.21
***************
*** 34,37 ****
--- 34,40 ----
  -------
  
+ - Bug #797650:  textwrap.py now avoids an infinite loop when one of the
+   indent arguments is set longer than the total width.
+ 
  - Bug #796149: time.strptime() now handles having parentheses in the
    format string properly.





More information about the Python-checkins mailing list