128 Commits (511491ade0bb77febb176bc75f049797f0c71ed0)

Author SHA1 Message Date
Serhiy Storchaka 8ffe917cee Issue #23671: string.Template now allows to specify the "self" parameter as 11 years ago
Eric V. Smith 7ce90743a1 Issue #13598: Add auto-numbering of replacement fields to string.Formatter. 12 years ago
R David Murray d928b6a965 #13579: minimize code base drift for 'a' string.Formatter change. 14 years ago
R David Murray e56bf97ef4 #13579: teach string.Formatter about 'a'. 14 years ago
Ezio Melotti d8b509b192 #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). 15 years ago
Raymond Hettinger 9fe1ccfb5a Issue #11297: Add collections.ChainMap() 15 years ago
Raymond Hettinger c9423109f5 Factor-out common code for helper classes. 15 years ago
Georg Brandl 66c221e993 #9418: first step of moving private string methods to _string module. 15 years ago
Florent Xicluna eb19dce085 Issue #1686: Fix string.Template when overriding the pattern attribute. 16 years ago
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
Florent Xicluna 7b2a7710ef typo 16 years ago
Senthil Kumaran c0548c9d90 Fix Issue5416 - explain negative value of maxplit in str.replace. 16 years ago
Georg Brandl 056cb93e7a #6630: allow customizing flags for compiling string.Template.idpattern. 16 years ago
Ezio Melotti 029625c3f6 Merged revisions 75074 via svnmerge from 17 years ago
Ezio Melotti a40bdda937 Merged revisions 75070 via svnmerge from 17 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
Benjamin Peterson 5a6deb4cae remove string.maketrans 17 years ago
Philip Jenvey a394f2dca3 #4351: more appropriate DeprecationWarning stacklevels 17 years ago
Georg Brandl abc387747d Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate 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
Georg Brandl 5076740d4f #4361: fix string.py docstring, clarify that only ASCII characters are in its constants. 17 years ago
Benjamin Peterson f608c61301 Merged revisions 67154,67157-67159,67175-67176,67189,67224-67227,67234 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
Guido van Rossum 254348e201 Rename buffer -> bytearray. 18 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 18 years ago
Eric Smith 11529195ca Changed some ValueError's to KeyError and IndexError. 19 years ago
Eric Smith 9d4ba3970f Removed used_args param from string.Formatter.get_field. It was left in by mistake from an earlier edit. 19 years ago
Georg Brandl 7f13e6b3e2 string.maketrans() now produces translation tables for bytes.translate() -- wrong module? 19 years ago
Eric Smith 3bcc42ad0f Changed signature of string.Formatter.get_field, per suggestion by 19 years ago
Collin Winter ce36ad8a46 Raise statement normalization in Lib/. 19 years ago
Collin Winter 95fb569f46 Revert r57685 (weird merge result). 19 years ago
Collin Winter e0281cab81 19 years ago
Eric Smith 625cbf28ee Modified parsing of format strings, so that we always return 19 years ago
Eric Smith 9e7c8da61c Simplified tuple returned by string._formatter_parser to only have 19 years ago
Eric Smith e226b55963 PEP 3101: Removed _formatter_xxx routines from sysmodule, and made them unicode methods instead (per GvR suggestion). 19 years ago
Eric Smith 7ade6485ab PEP 3101: Completed string.Formatter class. Reimplemented field_name to object transformation. 19 years ago
Eric Smith 8c66326368 Implementation of PEP 3101, Advanced String Formatting. 19 years ago
Martin v. Löwis 967f1e3b85 Remove string.{letters,lowercase,uppercase}. 19 years ago
Guido van Rossum c1f779cb01 Merged revisions 56125-56153 via svnmerge from 19 years ago
Guido van Rossum ebe3e16600 Merged revisions 55342-55406 via svnmerge from 19 years ago
Guido van Rossum 805365ee39 Merged revisions 55007-55179 via svnmerge from 19 years ago
Neal Norwitz 9d72bb452b Remove functions in string module that are also string methods. Also remove: 19 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
Guido van Rossum 52cc1d838f Implement PEP 3115 -- new metaclass syntax and semantics. 19 years ago