summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
AgeCommit message (Expand)AuthorLines
2001-12-10SF patch #491049 (David Jacobs): Small PyString_FromString optimizationGuido van Rossum-1/+1
2001-12-06PyString_FromString: this requires its argument be non-NULL, but doesn'tTim Peters-1/+4
2001-12-06Little stuff.Jeremy Hylton-8/+9
2001-12-03Add more inline documentation, as contributed in #487906.Martin v. Löwis-3/+8
2001-12-03PyString_FromFormatV, string_repr: document why these use sprintfTim Peters-5/+16
2001-12-02Patch 487906: update inline docs.Martin v. Löwis-13/+21
2001-11-28sprintf -> PyOS_snprintf in some "obviously safe" cases.Tim Peters-4/+8
2001-10-22Make the error message for unsupported operand types cleaner, inGuido van Rossum-1/+1
2001-10-16SF bug [#468061] __str__ ignored in str subclass.Tim Peters-2/+21
2001-10-13Remove extra "]" in splitlines() docstring.Fred Drake-1/+1
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-1/+2
2001-10-02SF bug [#467265] Compile errors on SuSe Linux on IBM/s390.Tim Peters-1/+6
2001-09-27Merge branch changes (coercion, rich comparisons) into trunk.Guido van Rossum-4/+2
2001-09-24Change string comparison so that it applies even when one (or both)Guido van Rossum-3/+4
2001-09-12If interning an instance of a string subclass, intern a real string objectTim Peters-4/+20
2001-09-12str_subtype_new, unicode_subtype_new:Tim Peters-5/+15
2001-09-12More bug 460020: lots of string optimizations inhibited for stringTim Peters-79/+46
2001-09-11More on SF bug [#460020] bug or feature: unicode() and subclasses.Tim Peters-1/+1
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