56 Commits (6dbca367dceda3999979bdc3cdcfdb201f40d044)

Author SHA1 Message Date
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
Antoine Pitrou 7c59bc6f2f Issue #4163: textwrap module: allow word splitting on a hyphen preceded by a non-ASCII letter. 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
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
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
Georg Brandl fceab5a385 Merged revisions 60080-60089,60091-60093 via svnmerge from 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
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
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
Greg Ward 523008c6cf Update copyright dates. 23 years ago
Greg Ward 52ae0a596f Remove comment about Unicode: SF #622831 was fixed loooong ago! 23 years ago
Tim Peters c2659cff5d Whitespace normalization. 23 years ago
Greg Ward 86e1790cad Clarify the dedent() example a bit by indenting the input lines unevenly. 23 years ago
Greg Ward 2557100b9e Minor clarification of dedent(). 23 years ago
Greg Ward 478cd48dee SF patch #598163 (Ville Vainio, vvainio@users.sourceforge.net): 23 years ago
Greg Ward a409f7c491 SF #596434: tweak wordsep_re so the definition of an em-dash is 23 years ago
Greg Ward 21820cd925 SF #726446: raise ValueError if width <= 0. 23 years ago
Andrew M. Kuchling a2ecabe420 Fix docstring typo 23 years ago
Greg Ward 4c6c9c42fb Add __all__ (suggested by Raymond Hettinger). 23 years ago
Greg Ward afd44de812 Hardcode the recognized whitespace characters to the US-ASCII whitespace 23 years ago
Greg Ward 0e88c9f65d Tweak generation of unicode_whitespace_trans -- clearer, more 23 years ago
Greg Ward ab73d46e45 Fix SF bug #622849: in _wrap_chunks(), ensure that leading whitespace in 23 years ago
Greg Ward 2e74541d7e Fix SF bug #622831 (I think): add unicode_whitespace_trans class 23 years ago
Greg Ward 4c486bc0c0 Add comment about inability to handle Unicode strings (hopefully a 24 years ago
Greg Ward 78cc051617 Fix copyright date: the core of this code actually dates back to 1999 24 years ago
Guido van Rossum eb287a2662 Fix an endcase bug: initial_indent was ignored when the text was short 24 years ago
Greg Ward e3bd104aa7 Tweak wordsep_re again: this time to recognize an em-dash with 24 years ago
Greg Ward cce4d67fc4 Fix SF bug #596434: tweak wordsep_re so "--foo-bar" now splits 24 years ago
Tim Peters c411dbaeee Whitespace normalization. 24 years ago
Greg Ward e807e571a1 Docstring improvements. In particular, added docstrings for the 24 years ago
Greg Ward 62080bee14 Took initial_tab and subsequent_tab away from the fill() method and 24 years ago
Greg Ward cf02ac6154 Allow the standalone wrap() and fill() functions to take arbitrary 24 years ago
Greg Ward d34c959140 Make 'width' an instance attribute rather than an argument to the wrap() 24 years ago
Greg Ward 47df99d575 Make all of TextWrapper's options keyword args to the constructor. 24 years ago
Greg Ward 698d9f01c6 Record copyright and author. 24 years ago