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 gward
Recipients
Date 2004-06-03.02:00:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=14422

Turns out the fix was fairly easy: there was already a
special case in wordsep_re so that Optik and Docutils could
wrap long options like "--foo-bar" correctly.  Generalizing
that special case to any punctuation ([^\s\w]) fixes this bug.

Fixed on release23-maint branch:
  Lib/textwrap.py rev 1.32.8.3
  Lib/test/test_textwrap.py rev 1.22.8.3

Merged onto trunk:
  Lib/textwrap.py rev 1.35
  Lib/test/test_textwrap.py rev 1.26
History
Date User Action Args
2007-08-23 14:22:05adminlinkissue965425 messages
2007-08-23 14:22:05admincreate