summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
AgeCommit message (Expand)AuthorLines
2001-08-31Fix a memory leak in str_subtype_new(). (All the otherGuido van Rossum-3/+3
2001-08-30Make str and tuple types subclassable.Guido van Rossum-2/+24
2001-08-27Two improvements suggested by Greg Stein:Barry Warsaw-2/+5
2001-08-25PyString_FromFormatV: Massage platform %p output to match what gcc does,Tim Peters-0/+8
2001-08-24PyString_FromFormat() and PyString_FromFormatV(): Largely ripped fromBarry Warsaw-0/+155
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-4/+56
2001-08-16Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis-103/+56
2001-08-02Merge of descr-branch back into trunk.Tim Peters-26/+50
2001-07-30Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.Jeremy Hylton-5/+0
2001-06-16Reformat decl of new _PyString_Join. Add NEWS blurb about repr() speedup.Tim Peters-1/+2
2001-06-16SF bug 433228: repr(list) woes when len(list) big.Tim Peters-0/+17
2001-06-12Fix for bug #432384: Recursion in PyString_AsEncodedString?Marc-André Lemburg-1/+1
2001-05-24Patch #424335: Implement string_richcompare, remove string_compare.Martin v. Löwis-12/+77
2001-05-15This patch changes the way the string .encode() method works slightlyMarc-André Lemburg-20/+90
2001-05-10Heh. I need a break. After this: stropmodule & stringobject were moreTim Peters-8/+6
2001-05-10Fudge. stropmodule and stringobject both had copies of the buggyTim Peters-30/+39
2001-05-09SF patch #416247 2.1c1 stringobject: unused vrbl cleanup.Tim Peters-2/+0
2001-05-09Sheesh -- repair the dodge around "cast isn't an lvalue" complaints toTim Peters-0/+4
2001-05-09Mark Favas reported that gcc caught me using casts as lvalues. Dodge it.Tim Peters-6/+10
2001-05-09Ack! Restore the COUNT_ALLOCS one_strings code.Tim Peters-1/+5
2001-05-09My change to string_item() left an extra reference to each 1-characterTim Peters-4/+3
2001-05-08Intern 1-character strings as soon as they're created. As-is, they aren'tTim Peters-15/+12
2001-05-05Make unicode.join() work nice with iterators. This also required a changeTim Peters-1/+8
2001-05-02Fix for bug #417030: "print '%*s' fails for unicode string"Marc-André Lemburg-2/+3
2001-05-01Add a proper implementation for the tp_str slot (returning self, ofGuido van Rossum-1/+8
2001-04-28A different approach to the problem reported inTim Peters-33/+39
2001-04-20Iterators phase 1. This comprises:Guido van Rossum-0/+2
2001-04-12Bug 415514 reported that e.g.Tim Peters-25/+24
2001-04-12Fix for SF bug #415514: "%#x" % 0 caused assertion failure/abort.Tim Peters-14/+25
2001-02-23_Py_ReleaseInternedStrings(): Private API function to decref andBarry Warsaw-0/+10
2001-01-24Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee-6/+17
2001-01-19Derivative of patch #102549, "simpler, faster(!) implementation of string.join".Tim Peters-38/+52
2001-01-16Added checks to prevent PyUnicode_Count() from dumping coreMarc-André Lemburg-11/+26
2000-12-15[ Patch #102852 ] Make % error a bit more informative by indicates theAndrew M. Kuchling-2/+3
2000-12-06Jeffrey D. Collins <tokeneater@users.sourceforge.net>:Fred Drake-3/+3
2000-11-30Fox for SF bug #123859: %[duxXo] long formats inconsistent.Tim Peters-4/+1
2000-11-27SF patch #102548, fix for bug #121013, by mwh@users.sourceforge.net.Guido van Rossum-1/+1
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-2/+2
2000-10-07[ Bug #116174 ] using %% in cstrings sometimes fails with unicode paramsFix f...Marc-André Lemburg-11/+17
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-5/+1
2000-09-21Derived from Martin's SF patch 110609: support unbounded ints in %d,i,u,x,X,...Tim Peters-28/+203
2000-09-19This patch adds a new Python C API called PyString_AsStringAndSize()Marc-André Lemburg-7/+63
2000-09-09Fix for bug 113934. string*n and unicode*n did no overflow checking atTim Peters-2/+17
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-16Insure properly identifies the `interned' dictionary as leaking atBarry Warsaw-0/+12
2000-07-31merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp-1/+0
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-5/+5
2000-07-12replace PyXXX_Length calls with PyXXX_Size callsJeremy Hylton-1/+1
2000-07-12Fix typo in error messageAndrew M. Kuchling-1/+1
2000-07-11small updates to string_join:Jeremy Hylton-6/+9