summaryrefslogtreecommitdiff
path: root/Lib/string.py
AgeCommit message (Expand)AuthorLines
2009-09-26Merged revisions 75074 via svnmerge fromEzio Melotti-4/+6
2009-05-08#4351: more appropriate DeprecationWarning stacklevelsPhilip Jenvey-1/+1
2009-04-12Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecateGeorg Brandl-0/+3
2008-11-22#4361: fix string.py docstring, clarify that only ASCII characters are in its...Georg Brandl-9/+9
2008-11-16Merged revisions 67154,67157-67159,67175-67176,67189,67224-67227,67234 via sv...Benjamin Peterson-3/+2
2007-11-21Rename buffer -> bytearray.Guido van Rossum-1/+1
2007-11-06Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum-3/+3
2007-09-04Changed some ValueError's to KeyError and IndexError.Eric Smith-3/+13
2007-09-02Removed used_args param from string.Formatter.get_field. It was left in by m...Eric Smith-4/+2
2007-08-31string.maketrans() now produces translation tables for bytes.translate() -- w...Georg Brandl-21/+14
2007-08-31Changed signature of string.Formatter.get_field, per suggestion byEric Smith-7/+5
2007-08-30Raise statement normalization in Lib/.Collin Winter-1/+1
2007-08-29Revert r57685 (weird merge result).Collin Winter-1/+0
2007-08-29(no commit message)Collin Winter-0/+1
2007-08-29Modified parsing of format strings, so that we always returnEric Smith-4/+13
2007-08-28Simplified tuple returned by string._formatter_parser to only haveEric Smith-24/+58
2007-08-27PEP 3101: Removed _formatter_xxx routines from sysmodule, and made them unico...Eric Smith-6/+4
2007-08-26PEP 3101: Completed string.Formatter class. Reimplemented field_name to obje...Eric Smith-7/+35
2007-08-25Implementation of PEP 3101, Advanced String Formatting.Eric Smith-0/+39
2007-08-14Remove string.{letters,lowercase,uppercase}.Martin v. Löwis-6/+3
2007-07-03Merged revisions 56125-56153 via svnmerge fromGuido van Rossum-7/+4
2007-05-17Merged revisions 55342-55406 via svnmerge fromGuido van Rossum-11/+0
2007-05-07Merged revisions 55007-55179 via svnmerge fromGuido van Rossum-1/+1
2007-04-17Remove functions in string module that are also string methods. Also remove:Neal Norwitz-322/+2
2007-03-18Implement PEP 3115 -- new metaclass syntax and semantics.Guido van Rossum-2/+1
2007-01-15Rip out 'long' and 'L'-suffixed integer literals.Guido van Rossum-1/+1
2006-08-21Merge current trunk into p3yk. This includes the PyNumber_Index API change,Thomas Wouters-1/+0
2006-08-11Merged revisions 46753-51188 via svnmerge fromThomas Wouters-3/+3
2004-12-07Remove outdated references to the regsub module.Raymond Hettinger-3/+2
2004-11-01SF patch #1056967, changes the semantics of Template.safe_substitute() to notBarry Warsaw-1/+1
2004-10-17Invalid patterns to substitute and safe_substitute would crash since patternNeal Norwitz-2/+4
2004-09-26Make the regex pattern easier to read, understand, and modifyRaymond Hettinger-4/+6
2004-09-18At the cost of a modest (but useful in its own right) change in the semanticsBarry Warsaw-8/+6
2004-09-16Whitespace normalization.Tim Peters-1/+1
2004-09-14Make the hint about the None default less ambiguous.Walter Dörwald-1/+1
2004-09-14Enhance the docstrings for unicode.split() and string.split()Walter Dörwald-1/+1
2004-09-14Fix small bugs in Template code.Raymond Hettinger-7/+12
2004-09-13Raymond's good suggestion to re-order the tests in the convert() helper so theBarry Warsaw-13/+16
2004-09-13substitute(), safe_substitute(): Paul Moore provides a better hack for dealingBarry Warsaw-11/+19
2004-09-13Accepted Raymond's patch to combine mapping and keyword arguments, with slightBarry Warsaw-5/+32
2004-09-10Template: remove __slots__ since that interferes with the ability to mix inBarry Warsaw-1/+0
2004-09-10__slots__ went missing from Template.Raymond Hettinger-0/+1
2004-09-10Many updates to PEP 292 templates. Summary:Barry Warsaw-30/+53
2004-08-26Minor improvements to the template code.Raymond Hettinger-18/+15
2004-08-25PEP 292 classes Template and SafeTemplate are added to the string module.Barry Warsaw-34/+106
2003-12-15Add rsplit method for str and unicode builtin types.Hye-Shik Chang-0/+12
2003-11-26Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger-12/+12
2003-10-03tweak the docstring to not be so focused on 1.6.Skip Montanaro-5/+5
2003-04-10Attempt to make all the various string *strip methods the same.Neal Norwitz-9/+10
2002-11-14Update the docstring to match the code. Will backport.Neal Norwitz-1/+3