126 Commits (547298c94cd491dbfaa7bc5f968c2bdcf91588cc)

Author SHA1 Message Date
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). 14 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 7b2a7710ef typo 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
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 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
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
Guido van Rossum 52cc1d838f Implement PEP 3115 -- new metaclass syntax and semantics. 19 years ago
Guido van Rossum e2a383d062 Rip out 'long' and 'L'-suffixed integer literals. 19 years ago
Thomas Wouters 00ee7baf49 Merge current trunk into p3yk. This includes the PyNumber_Index API change, 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 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