summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
AgeCommit message (Expand)AuthorLines
2006-04-21Py_ssize_t issue; repr()'ing a very large string would result in a teensyThomas Wouters-1/+1
2006-04-19Make s.replace() work with explicit counts exceeding 2Gb.Thomas Wouters-2/+2
2006-04-19Use Py_ssize_t to hold the 'width' argument to the ljust, rjust, center andThomas Wouters-8/+8
2006-04-18C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a...Skip Montanaro-1/+1
2006-04-17No need to cast a Py_ssize_t, use %z in PyErr_FormatNeal Norwitz-2/+2
2006-04-14Make Py_BuildValue, PyObject_CallFunction andMartin v. Löwis-0/+1
2006-04-13Change more occurrences of maxsplit to Py_ssize_t.Martin v. Löwis-4/+4
2006-04-13Change maxsplit types to Py_ssize_t.Martin v. Löwis-4/+4
2006-04-13Replace most INT_MAX with PY_SSIZE_T_MAX.Martin v. Löwis-11/+11
2006-04-11More low-hanging fruit. Still need to re-arrange some code (or find a betterAnthony Baxter-35/+35
2006-04-06Remove dead code (reported by HP compiler).Neal Norwitz-8/+5
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-3/+3
2006-03-25Get rid of warnings on some platforms by using %u for a size_t.Neal Norwitz-1/+1
2006-03-20Use macro versions instead of function versions when we already know the type.Neal Norwitz-4/+5
2006-03-17Introduced symbol PY_FORMAT_SIZE_T. See the new commentsTim Peters-31/+22
2006-03-07Checking in the code for PEP 357.Guido van Rossum-3/+6
2006-03-07SF #1444030: Fix several potential defects found by Coverity.Hye-Shik Chang-1/+1
2006-03-07Change int to Py_ssize_t in several places.Martin v. Löwis-4/+12
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-16Use Py_ssize_t in helper function between Py_ssize_t-using functions.Thomas Wouters-2/+2
2006-02-16Use Py_ssize_t for counts and sizes.Martin v. Löwis-5/+5
2006-02-16Support %zd in PyErr_Format and PyString_FromFormat.Martin v. Löwis-0/+21
2006-02-15Merge ssize_t branch.Martin v. Löwis-156/+157
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-10-21Fix bug:Michael W. Hudson-4/+0
2005-10-20SF bug #1331563 ] string_subscript doesn't check for failed PyMem_Malloc. Wi...Neal Norwitz-0/+2
2005-10-01Fix PyString_Format so that the "%s" format works again when Unicode is notGeorg Brandl-0/+2
2005-08-31Fix bug in last checkin (2.231). To match previous behavior, unicodeNeil Schemenauer-0/+5
2005-08-12Change the %s format specifier for str objects so that it returns aNeil Schemenauer-8/+4
2005-06-29SF bug #1224347: int/long unification and hex()Raymond Hettinger-11/+5
2005-02-20* Beef-up tests for str.count().Raymond Hettinger-2/+7
2005-02-20* Beef-up testing of str.__contains__() and str.find().Raymond Hettinger-13/+26
2005-01-31More bug #1077106 stuff, sorry -- modem induced impatiece!Michael W. Hudson-0/+1
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