Message231104
Here is a patch which is closer to current code but solves complexity issue and also fixes some bugs in current code.
$ ./python -c "import textwrap; print(textwrap.wrap('this-is-a-useful-feature', width=1, break_long_words=False))"
['this-', 'is-a', '-useful-', 'feature']
$ ./python -c "import textwrap; print(textwrap.wrap('what-d\x27you-call-it.', width=1, break_long_words=False))"
['what-d', "'you-", 'call-', 'it.'] |
|
Date |
User |
Action |
Args |
2014-11-13 10:31:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, pitrou, roippi, inkerman |
2014-11-13 10:31:44 | serhiy.storchaka | set | messageid: <1415874704.96.0.992496586761.issue22687@psf.upfronthosting.co.za> |
2014-11-13 10:31:44 | serhiy.storchaka | link | issue22687 messages |
2014-11-13 10:31:44 | serhiy.storchaka | create | |
|