100 Commits (284fa08eb783a48f98eabda25aaaebefb5937cce)

Author SHA1 Message Date
Florent Xicluna 9b90cd1f7b Merged revisions 84470-84471,84566-84567,84759 via svnmerge from 16 years ago
Senthil Kumaran a240cb1f2d Issue5416 - Revert a documentatin change made to explain replace on negative value. 16 years ago
Senthil Kumaran c0548c9d90 Fix Issue5416 - explain negative value of maxplit in str.replace. 16 years ago
Ezio Melotti 9ba83c50f4 Merged revisions 75070 via svnmerge from 17 years ago
Ezio Melotti 9aac2455ab #7000: document "sep" in capwords. Add a few tests 17 years ago
Georg Brandl bb608a84aa Merged revisions 67154,67157-67159,67162-67163,67166,67175-67176,67189,67224-67225,67243 via svnmerge from 17 years ago
Benjamin Peterson b7c95ce8b8 fix comment 17 years ago
Georg Brandl 74bbc79d10 Replace all map(None, a) with list(a). 18 years ago
Eric Smith a9f7d62480 Backport of PEP 3101, Advanced String Formatting, from py3k. 18 years ago
Raymond Hettinger 4db5fe970c SF 1193128: Let str.translate(None) be an identity transformation 19 years ago
Guido van Rossum f102e24bd3 Add a type.__init__() method that enforces the same signature as 19 years ago
Guido van Rossum 143b564059 - Bug #1683368: The object.__init__() and object.__new__() methods are 19 years ago
Georg Brandl d76bd69712 Cookie.py shouldn't "bogusly" use string._idmap. 20 years ago
Thomas Wouters add191118f Fix bug in passing tuples to string.Template. All other values (with working 20 years ago
Raymond Hettinger 57aef9cb29 Remove outdated references to the regsub module. 21 years ago
Barry Warsaw 8c72eae237 SF patch #1056967, changes the semantics of Template.safe_substitute() to not 21 years ago
Neal Norwitz 6627a96705 Invalid patterns to substitute and safe_substitute would crash since pattern 22 years ago
Raymond Hettinger 55593c3ef5 Make the regex pattern easier to read, understand, and modify 22 years ago
Barry Warsaw 17cb60083c At the cost of a modest (but useful in its own right) change in the semantics 22 years ago
Tim Peters c74298a72b Whitespace normalization. 22 years ago
Walter Dörwald 065a32f550 Make the hint about the None default less ambiguous. 22 years ago
Walter Dörwald 782afc5927 Enhance the docstrings for unicode.split() and string.split() 22 years ago
Raymond Hettinger 6d191113a6 Fix small bugs in Template code. 22 years ago
Barry Warsaw b5c6b5bfe8 Raymond's good suggestion to re-order the tests in the convert() helper so the 22 years ago
Barry Warsaw b6234a95c1 substitute(), safe_substitute(): Paul Moore provides a better hack for dealing 22 years ago
Barry Warsaw 46b629c101 Accepted Raymond's patch to combine mapping and keyword arguments, with slight 22 years ago
Barry Warsaw f43e8bd7b4 Template: remove __slots__ since that interferes with the ability to mix in 22 years ago
Raymond Hettinger 1f7d6a633f __slots__ went missing from Template. 22 years ago
Barry Warsaw 12827c1fa9 Many updates to PEP 292 templates. Summary: 22 years ago
Raymond Hettinger 0d58e2be0b Minor improvements to the template code. 22 years ago
Barry Warsaw 8bee76106e PEP 292 classes Template and SafeTemplate are added to the string module. 22 years ago
Hye-Shik Chang 3ae811b57d Add rsplit method for str and unicode builtin types. 22 years ago
Raymond Hettinger 4f8f976576 Add optional fillchar argument to ljust(), rjust(), and center() string methods. 22 years ago
Skip Montanaro 0b87444b1b tweak the docstring to not be so focused on 1.6. 23 years ago
Neal Norwitz ffe33b7f24 Attempt to make all the various string *strip methods the same. 23 years ago
Neal Norwitz a4864a2464 Update the docstring to match the code. Will backport. 23 years ago
Martin v. Löwis 1f04610b49 Make strip behave as documented. Will backport to 2.2.3. 24 years ago
Martin v. Löwis 5357c6511d Convert empty string literal to string. Speed up creation of idmap. 24 years ago
Walter Dörwald 65230a2de7 Remove uses of the string and types modules: 24 years ago
Walter Dörwald 068325ef92 Apply the second version of SF patch http://www.python.org/sf/536241 24 years ago
Andrew M. Kuchling 102d1208a8 [Bug #536241] string.zfill() produces mangled output for a Unicode string. 24 years ago
Fred Drake 1453754fcd string.split() docstring described the interpretation of the maxsplit 24 years ago
Fred Drake 960fdf9ac3 Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase 25 years ago
Skip Montanaro 78349072f7 removed __all__ from several modules 25 years ago
Skip Montanaro 0de65807e6 bunch more __all__ lists 25 years ago
Tim Peters 6b6b39e8b6 Nuke accurate but confusing and unhelpful comments about split vs splitfields. 25 years ago
Eric S. Raymond e37340edf2 String method conversion. 25 years ago
Tim Peters 495ad3c8cc Whitespace normalization. 25 years ago
Guido van Rossum 5aff7752eb Make string.translate(s, table) work for Unicode s. Two things are 25 years ago
Fred Drake fd64c5908f Fix serious typo! 26 years ago