Message21004
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
|
|
Date |
User |
Action |
Args |
2007-08-23 14:22:05 | admin | link | issue965425 messages |
2007-08-23 14:22:05 | admin | create | |
|