143 Commits (2085bd0877e17ad4d98a4586d5eabb6faecbb190)

Author SHA1 Message Date
Serhiy Storchaka 2085bd0877
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 7 years ago
Serhiy Storchaka 87be28f4a1
bpo-31672: Restore the former behavior when override flags in Template. (#5099) 8 years ago
Barry Warsaw e256b40888
bpo-31672 - Add one last minor clarification for idpattern (#4483) 8 years ago
INADA Naoki b22273ec5d bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers (GH-3872) 8 years ago
Barry Warsaw ba4279683f bpo-1198569: Allow string.Template braced pattern to be different (#3288) 8 years ago
Serhiy Storchaka 009b0a1fac Issue #29193: A format string argument for string.Formatter.format() 9 years ago
R David Murray 44b548dda8 #27364: fix "incorrect" uses of escape character in the stdlib. 9 years ago
Zachary Ware c17a0b87a6 Issue #26809: Add __all__ to string module. Patch by Emanuel Barry 10 years ago
Eric V. Smith 85976b14dd Fixed issue #25034: Fix string.Formatter problem with auto-numbering 10 years ago
Yury Selivanov 7aa5341164 Reverting my previous commit. 11 years ago
Serhiy Storchaka 6e6883f11a Issue #24309: Removed Python 2 idioms. 11 years ago
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). 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 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 16 years ago
Ezio Melotti a40bdda937 Merged revisions 75070 via svnmerge from 16 years ago
Ezio Melotti 9ba83c50f4 Merged revisions 75070 via svnmerge from 16 years ago
Ezio Melotti 9aac2455ab #7000: document "sep" in capwords. Add a few tests 16 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