summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
AgeCommit message (Expand)AuthorLines
2006-09-05Fix str.rpartition(sep) when sep is not found in str.Neal Norwitz-2/+2
2006-08-14Fix refleak introduced in rev. 51248.Georg Brandl-1/+3
2006-08-13Fix segfault when doing string formatting on subclasses of long ifNeal Norwitz-1/+4
2006-08-12Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz-5/+2
2006-07-30Whitespace normalizationNeal Norwitz-35/+32
2006-07-30Bug #1515471: string.replace() accepts character buffers again.Neal Norwitz-71/+51
2006-06-11Update doc to make it agree with code.Neal Norwitz-10/+4
2006-06-10Apply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError.Georg Brandl-1/+1
2006-06-09RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first...Georg Brandl-60/+90
2006-06-01Remove ; at end of macro. There was a compiler recently that warnedNeal Norwitz-1/+1
2006-05-28needforspeed: added Py_MEMCPY macro (currently tuned for Visual C only),Fredrik Lundh-37/+37
2006-05-27needforspeed: stringlib refactoring: use find_slice for stringobjectFredrik Lundh-12/+15
2006-05-27needforspeed: replace improvements, changed to Py_LOCAL_INLINEFredrik Lundh-16/+16
2006-05-27cleanup - removed trailing whitespaceAndrew Dalke-1/+1
2006-05-27needforspeed: more stringlib refactoringFredrik Lundh-55/+39
2006-05-26Added description of why splitlines doesn't use the prealloc strategyAndrew Dalke-0/+8
2006-05-26Added limits to the replace code so it does not count all of the matchingAndrew Dalke-22/+19
2006-05-26needforspeed: stringlib refactoring: use stringlib/find for string findFredrik Lundh-19/+6
2006-05-26needforspeed: stringlib refactoring, continued. added count andFredrik Lundh-2/+2
2006-05-26substring split now uses /F's fast string matching algorithm.Andrew Dalke-40/+57
2006-05-26needforspeed: added rpartition implementationFredrik Lundh-0/+36
2006-05-26needforspeed: remove remaining USE_FAST macros; if fastsearch wasFredrik Lundh-67/+2
2006-05-26needforspeed: cleanupFredrik Lundh-4/+8
2006-05-26needforspeed: stringlib refactoring (in progress)Fredrik Lundh-34/+5
2006-05-26needforspeed: stringlib refactoring (in progress)Fredrik Lundh-92/+7
2006-05-26needforspeed: use Py_LOCAL on a few more locals in stringobject.cFredrik Lundh-26/+27
2006-05-26Eeked out another 3% or so performance in split whitespace by cleaning up the...Andrew Dalke-34/+37
2006-05-26Changes to string.split/rsplit on whitespace to preallocate space in theAndrew Dalke-56/+75
2006-05-26use Py_LOCAL also for string and unicode objectsFredrik Lundh-13/+1
2006-05-26needforspeed: use Py_ssize_t for the fastsearch counter and skipFredrik Lundh-1/+1
2006-05-26needforspeed: use METH_O for argument handling, which made partition someFredrik Lundh-6/+2
2006-05-26needforspeed: partition implementation, part two.Fredrik Lundh-15/+15
2006-05-25needforspeed: partition for 8-bit strings. for some simple tests,Fredrik Lundh-5/+66
2006-05-25squelch gcc4 darwin/x86 compiler warningsBob Ippolito-1/+1
2006-05-25needforspeed: use insert+reverse instead of appendFredrik Lundh-16/+8
2006-05-25* eliminate warning by reverting tmp_s type to 'const char*'Jack Diederich-1/+1
2006-05-25needforspeed: use fastsearch also for find/index and contains. theFredrik Lundh-1/+25
2006-05-25Added overflow test for adding two (very) large strings where theAndrew Dalke-2/+7
2006-05-25Comment typoAndrew M. Kuchling-1/+1
2006-05-25needforspeed: use "fastsearch" for count. this results in a 3x speedupFredrik Lundh-1/+122
2006-05-25Fixed problem identified by Georg. The special-case in-place code for replaceAndrew Dalke-2/+5
2006-05-25needforspeed: new replace implementation by Andrew Dalke. replace isFredrik Lundh-175/+598
2006-05-25needforspeed: check for overflow in replace (from Andrew Dalke)Fredrik Lundh-2/+21
2006-05-25needforspeed: _toupper/_tolower is a SUSv2 thing; fall back on ISO CFredrik Lundh-0/+9
2006-05-25needforspeed: make new upper/lower work properly for single-characterFredrik Lundh-4/+8
2006-05-25needforspeed: speed up upper and lower for 8-bit string objects.Fredrik Lundh-22/+20
2006-05-22docstring tweaks: count counts non-overlapping substrings, notFredrik Lundh-3/+3
2006-05-13Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatVTim Peters-13/+22
2006-05-13Revert 43315: Printing of %zd must be signed.Martin v. Löwis-2/+2
2006-04-21Py_ssize_t issue; repr()'ing a very large string would result in a teensyThomas Wouters-1/+1