summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
AgeCommit message (Expand)AuthorLines
2008-12-13Backported r55839 and r61350Martin v. Löwis-10/+34
2008-11-12- Issue #2587: In the C API, PyString_FromStringAndSize() takes a signed sizeMatthias Klose-0/+7
2008-07-31Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz-1/+17
2006-10-06[Backport r43695 | neal.norwitz]Andrew M. Kuchling-8/+5
2006-10-05[Backport r51248 | neal.norwitz]Andrew M. Kuchling-1/+4
2006-10-04A review of overflow-detecting code in the 2.4 branch.Armin Rigo-1/+1
2006-03-07Backport r42894: SF #1444030 Fix several potential defects foundHye-Shik Chang-1/+1
2005-10-20Backport: SF bug #1331563 ] string_subscript doesn't check for failed PyMem_M...Neal Norwitz-0/+2
2004-10-26SF bug #1054139: serious string hashing error in 2.4b1Raymond Hettinger-0/+1
2004-08-23SF Patch #1007087: Return new string for single subclass joins (Bug #1001011)Raymond Hettinger-12/+8
2004-08-07This was quite a dark bug in my recent in-place string concatenationArmin Rigo-1/+2
2004-08-07Fixed some compiler warnings.Armin Rigo-2/+2
2004-08-07Subclasses of string can no longer be interned. The semantics ofJeremy Hylton-22/+12
2004-07-08.encode()/.decode() patch part 2.Marc-André Lemburg-0/+10
2004-07-08Allow string and unicode return types from .encode()/.decode()Marc-André Lemburg-2/+24
2004-06-27sizeof(char) is 1, by definition, so get rid of that expression inTim Peters-12/+7
2004-06-08Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis-1/+1
2004-01-05[SF #866875] Add a specialized routine for one characterHye-Shik Chang-45/+95
2003-12-22There are places in Python which assume bytes have 8-bits. Formalize that aSkip Montanaro-4/+0
2003-12-15Add rsplit method for str and unicode builtin types.Hye-Shik Chang-0/+124
2003-11-29- Removed FutureWarnings related to hex/oct literals and conversionsGuido van Rossum-17/+19
2003-11-26Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger-13/+18
2003-10-22Avoid confusing name for the 3rd argument to str.replace().Fred Drake-3/+3
2003-10-18Patch #825679: Clarify semantics of .isfoo on empty strings.Martin v. Löwis-12/+13
2003-08-27SF bug #795506: Wrong handling of string format code for float values.Raymond Hettinger-0/+3
2003-06-18Fix whitespace.Walter Dörwald-1/+1
2003-04-10Attempt to make all the various string *strip methods the same.Neal Norwitz-9/+9
2003-04-09Reformat a few docstrings that caused line wraps in help() output.Guido van Rossum-6/+6
2003-03-31Fix PyString_Format() so that '%c' % u'a' returns u'a'Walter Dörwald-0/+7
2003-01-29Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum-0/+7
2003-01-15SF patch #664192 bug #661913: inconsistent error messages between stringRaymond Hettinger-2/+2
2003-01-06GvR's idea to use memset() for the most common special case of repeatingRaymond Hettinger-1/+5
2003-01-06Optimize string_repeat.Raymond Hettinger-2/+11
2002-12-29Patch for bug #659709: bogus computation of float lengthMarc-André Lemburg-6/+16
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-1/+1
2002-12-12Patch #650653: Raise always value error if the table is not 256 bytes long.Martin v. Löwis-6/+6
2002-12-06Patch #614055: Support OpenVMS.Martin v. Löwis-1/+5
2002-11-18Add nb_remainder (i.e. __mod__) slot to str type. Fixes SF bug #615506.Neil Schemenauer-2/+22
2002-11-12Fix SF # 635969, No error "not all arguments converted"Neal Norwitz-1/+2
2002-10-11Back out #479898.Martin v. Löwis-69/+15
2002-10-11Fix a nasty endcase reported by Armin Rigo in SF bug 618623:Guido van Rossum-2/+6
2002-10-09Undo this part of the previous checkin:Guido van Rossum-3/+4
2002-10-09The string formatting code has a test to switch to Unicode when %sGuido van Rossum-2/+5
2002-10-07Include wctype.h.Martin v. Löwis-1/+2
2002-10-07Patch #479898: Use multibyte C library for printing strings if available.Martin v. Löwis-15/+68
2002-09-12Fix warnings on 64-bit platforms about casts from pointers to ints.Guido van Rossum-1/+2
2002-09-09Fix escaping of non-ASCII characters.Martin v. Löwis-2/+4
2002-09-03Check whether a string resize is necessary at the endWalter Dörwald-3/+4
2002-09-02PEP 293 implemention (from SF patch http://www.python.org/sf/432401)Walter Dörwald-2/+6
2002-08-24string_contains(): speed up by avoiding function calls whereGuido van Rossum-9/+12