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 quentin.gallet-gilles
Recipients quentin.gallet-gilles, sam
Date 2007-09-14.08:56:08
SpamBayes Score 0.031271484
Marked as misclassified No
Message-id <1189760170.24.0.241704623447.issue1146@psf.upfronthosting.co.za>
In-reply-to
Content
The bug is present in trunk and has been there since rev 33955. This
revision contained a fix to an infinite loop when indentation was set
longer than width with long word breaking enabled. In that case, it
would strip off at least one character on every pass. The fix was
however a bit too general, leading to the reported bug.

The added patch makes sure this doesn't happen anymore when indentation
isn't involved.
Files
File name Uploaded
textwrap_r58153.diff quentin.gallet-gilles, 2007-09-14.08:56:08
History
Date User Action Args
2007-09-14 08:56:11quentin.gallet-gillessetspambayes_score: 0.0312715 -> 0.031271484
recipients: + quentin.gallet-gilles, sam
2007-09-14 08:56:10quentin.gallet-gillessetspambayes_score: 0.0312715 -> 0.0312715
messageid: <1189760170.24.0.241704623447.issue1146@psf.upfronthosting.co.za>
2007-09-14 08:56:10quentin.gallet-gilleslinkissue1146 messages
2007-09-14 08:56:08quentin.gallet-gillescreate