summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
AgeCommit message (Expand)AuthorLines
2010-01-02Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,Antoine Pitrou-31/+10
2009-11-29Issue #3382: Make '%F' and float.__format__('F') convert results to upper cas...Eric Smith-2/+0
2009-11-23Issue #7117, continued: Remove substitution of %g-style formatting forMark Dickinson-3/+0
2009-11-23Remove restriction on precision when formatting floats. This is theMark Dickinson-57/+21
2009-11-15Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,Mark Dickinson-12/+59
2009-10-26Finished removing _PyOS_double_to_string, as mentioned in issue 7117.Eric Smith-3/+17
2009-10-14#7116: str.join() takes an iterable.Georg Brandl-2/+2
2009-09-18add keyword arguments support to str/unicode encode and decode #6300Benjamin Peterson-6/+10
2009-09-17use macrosBenjamin Peterson-1/+1
2009-08-28Silence gcc 'comparison always false' warningMark Dickinson-1/+3
2009-04-25Issue #5835, deprecate PyOS_ascii_formatd.Eric Smith-7/+2
2009-03-29Issue #532631: Add paranoid check to avoid potential buffer overflowMark Dickinson-1/+10
2009-03-29Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 testMark Dickinson-1/+1
2009-01-07Issue #4850: Change COUNT_ALLOCS variables to Py_ssize_t.Martin v. Löwis-1/+1
2008-12-05Issue #4445: save 3 bytes (on average, on a typical machine) perMark Dickinson-13/+21
2008-10-04Docstring change for *partition: use same tense as other docstrings.Andrew M. Kuchling-7/+7
2008-09-01Issue #3751: str.rpartition would perform a left-partition when called withAmaury Forgeot d'Arc-1/+1
2008-08-12Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,Martin v. Löwis-3/+4
2008-08-02Preemptively backport the relevant parts of r65420Antoine Pitrou-1/+1
2008-07-31Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz-2/+17
2008-07-17Backed out r65069, pending fixing it in Windows.Eric Smith-8/+5
2008-07-17Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.Eric Smith-5/+8
2008-06-10Rename bytesobject.c back to stringobject.c to keep with the PyString theme.Gregory P. Smith-0/+5215
2008-05-26Renamed bytesobject.c to bytearrayobject.cChristian Heimes-5176/+0
2008-05-26Renamed PyString to PyBytesChristian Heimes-481/+481
2008-05-26First step of the C API rename:Christian Heimes-2/+2
2008-05-11#2809 followup: even better split docstring.Georg Brandl-2/+2
2008-05-11Addresses issue 2802: 'n' formatting for integers.Eric Smith-0/+4
2008-05-11#2809: elaborate str.split docstring a bit.Georg Brandl-1/+2
2008-04-10get rid of assert (size >= 0) now that an explicit if (size < 0) is in the code.Gregory P. Smith-1/+0
2008-04-09Raise SystemError when size < 0 is passed into PyString_FromStringAndSize,Gregory P. Smith-0/+5
2008-03-26Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,...Christian Heimes-1/+13
2008-03-11Fix the overflows in expandtabs(). "This time for sure!"Guido van Rossum-25/+32
2008-02-24Issue 1742669. Now %d accepts very big float numbers.Facundo Batista-16/+46
2008-02-17Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith-9/+20
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-64/+64
2007-12-08When splitting, avoid making a copy of the string if the split doesn't findSkip Montanaro-11/+42
2007-11-16Now in find, rfind, index, and rindex, you can use None as defaults,Facundo Batista-2/+13
2007-11-06Add missing "return NULL" in overflow check in PyObject_Repr().Guido van Rossum-0/+1
2007-10-29Backport fixes for the code that decodes octal escapes (and for PyStringGuido van Rossum-4/+6
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-2/+10
2007-08-28Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters-0/+11
2007-07-29Bug #1763149: use proper slice syntax in docstring.Georg Brandl-2/+2
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-68/+66
2007-07-12Patch #1673759: add a missing overflow check when formatting floatsGeorg Brandl-1/+2
2007-06-11Fix a bug when there was a newline in the string expandtabs was called on.Neal Norwitz-2/+8
2007-06-09Prevent expandtabs() on string and unicode objects from causing a segfault whenNeal Norwitz-3/+14
2007-04-12SF 1193128: Let str.translate(None) be an identity transformationRaymond Hettinger-8/+16
2007-02-26Backport from Py3k branch: fix refleak in PyString_Format.Georg Brandl-1/+5
2007-02-25Variation of patch # 1624059 to speed up checking if an object is a subclassNeal Norwitz-1/+1