69 Commits (c4c9866064f03646c686d7e08b00aeb203c35c19)

Author SHA1 Message Date
Jonathan Eunice 7a801839e9 bpo-30620: Remove dead lines from textwrap.dedent (GH-2064) 9 years ago
Serhiy Storchaka f3ebc9fe3f Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. 9 years ago
Serhiy Storchaka ea4cb63e68 Issue #21827: Fixed textwrap.dedent() for the case when largest common 10 years ago
Serhiy Storchaka 9f8a8910a4 Escaped backslashes in docstrings. 11 years ago
Serhiy Storchaka 72bd327db0 Issue #22687: Fixed some corner cases in breaking words in tetxtwrap. 11 years ago
Serhiy Storchaka 3e4b52875e Add shorten to __all_ (issues #18585 and #18725). 12 years ago
Serhiy Storchaka acc9f3fb16 Issue #18725: The textwrap module now supports truncating multiline text. 12 years ago
Antoine Pitrou c593056744 Fix the default placeholder in textwrap.shorten() to be " [...]". 13 years ago
Antoine Pitrou 389dec8bcf Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a piece of text to a given length. 13 years ago
Nick Coghlan 4fae8cdaea Close #13857: Added textwrap.indent() function (initial patch by Ezra 14 years ago
Martin v. Löwis ed11a5d018 Issue #8767: Restore building with --disable-unicode. 14 years ago
Hynek Schlawack d527259f14 #13152: Allow to specify a custom tabsize for expanding tabs in textwrap 14 years ago
Senthil Kumaran 7c9719cf74 Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. 15 years ago
Benjamin Peterson 274271d1ae remove unused imports (closes #12432) 15 years ago
Benjamin Peterson f3d7dbe72e Merged revisions 75231 via svnmerge from 17 years ago
Benjamin Peterson 4ac9ce4f9a Merged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896,74901,74903,74908,74912,74930,74933,74943,74946,74952-74955,75015,75019,75032,75068,75076,75095,75098,75102,75129,75139,75230 via svnmerge from 17 years ago
Georg Brandl 195261f823 Optimize optimization and fix method name in docstring. 17 years ago
Georg Brandl 47fe9817f1 Merged revisions 67952-67953,67955,67957-67958,67960-67961,67963,67965,67967,67970-67971,67973,67982,67988,67990,67995,68014,68016,68030,68057,68061,68112,68115-68118,68120-68121,68123-68128 via svnmerge from 17 years ago
Georg Brandl 3eef441700 Follow-up to r67746 in order to restore backwards-compatibility for 17 years ago
Benjamin Peterson c6e80eb5ee Merged revisions 67654,67676-67677,67681,67692,67725,67746,67748,67761,67784-67785,67787-67788,67802,67832,67848-67849,67859,67862-67864,67880,67882,67885,67889-67892,67895 via svnmerge from 17 years ago
Antoine Pitrou 7c59bc6f2f Issue #4163: textwrap module: allow word splitting on a hyphen preceded by a non-ASCII letter. 17 years ago
Antoine Pitrou 74af3bbfbd Issue #4163: Use unicode-friendly word splitting in the textwrap functions when given an unicode string. 17 years ago
Georg Brandl af265f4977 Merged revisions 67531-67532,67538,67553-67554,67556-67557,67571,67574-67575,67579-67580,67591,67597,67608,67631 via svnmerge from 17 years ago
Georg Brandl f3a0b86408 Merged revisions 67571,67574-67576,67579-67581,67583,67591,67597,67608,67631 via svnmerge from 17 years ago
Georg Brandl 3129ea2e05 #4544: add `dedent` to textwrap.__all__. 17 years ago
Brett Cannon 791ec1fc13 Remove assignment to True/False to silence the SyntaxWarning that is triggered 18 years ago
Alexandre Vassalotti 5f8ced2b95 Merged revisions 62998-63003,63005-63006,63009-63012,63014-63017,63019-63020,63022-63024,63026-63029,63031-63041,63043-63045,63047-63054,63056-63062 via svnmerge from 18 years ago
Georg Brandl 6f95ae55b1 #2659: add ``break_on_hyphens`` to TextWrapper. 18 years ago
Christian Heimes 81ee3efede Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 18 years ago
Mark Dickinson fe536f53ea Issue 2635: fix bug in the fix_sentence_endings option to textwrap.fill. 18 years ago
Georg Brandl fceab5a385 Merged revisions 60080-60089,60091-60093 via svnmerge from 18 years ago
Georg Brandl c6fde7293e Fix #1146: TextWrap vs words 1-character shorter than the width. 18 years ago
Georg Brandl 7f13e6b3e2 string.maketrans() now produces translation tables for bytes.translate() -- wrong module? 19 years ago
Guido van Rossum 9264ecd799 Quick fix for a new problem here -- using string.lowercase somehow caused 19 years ago
Guido van Rossum c1f779cb01 Merged revisions 56125-56153 via svnmerge from 19 years ago
Guido van Rossum e7ba495627 Merged revisions 55631-55794 via svnmerge from 19 years ago
Walter Dörwald aef90f4dd4 Fix string test (was testing str twice). 19 years ago
Guido van Rossum ef87d6ed94 Rip out all the u"..." literals and calls to unicode(). 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Georg Brandl 9e6b47002a Patch #1581073: add a flag to textwrap that prevents the dropping of 19 years ago
Guido van Rossum be19ed77dd Fix most trivially-findable print statements. 19 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Tim Peters 4f96f1f2b5 Whitespace normalization. 20 years ago
Greg Ward 7f54740c4d Bug #1361643: fix textwrap.dedent() so it handles tabs appropriately, 20 years ago
Raymond Hettinger 8bfa8935ea textwrap now processes text chucks at O(n) speed instead of O(n**2). 21 years ago
Greg Ward 40407943b7 SF #1149508: ensure textwrap handles hyphenated numbers correctly, 21 years ago
Raymond Hettinger 0c26ab02e6 Removed unused line. 21 years ago
Greg Ward 6186410db0 SF #965425: fix so hyphenated words surrounded by punctuation are 22 years ago
Greg Ward f0ba764dbb SF #847346: merge from release23-maint branch: remove misguided 22 years ago
Raymond Hettinger c11dbcd4bf SF bug 797650: Infinite loop in textwrap.py 23 years ago