summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
AgeCommit message (Expand)AuthorLines
2004-10-15Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar.Marc-André Lemburg-2/+2
2004-09-16Initialize sep and seplen to suppress warning from gcc.Skip Montanaro-3/+3
2004-09-15Add a missing line continuation character.Thomas Heller-1/+1
2004-09-14Make the hint about the None default less ambiguous.Walter Dörwald-1/+1
2004-09-14Enhance the docstrings for unicode.split() and string.split()Walter Dörwald-2/+2
2004-09-07SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald-23/+57
2004-08-27PyUnicode_Join(): Bozo Alert. While this is chugging along, it mayTim Peters-0/+12
2004-08-27PyUnicode_Join(): Rewrote to use PySequence_Fast(). This doesn't doTim Peters-125/+95
2004-08-27PyUnicode_Join(): Missed a spot where I intended a cast from size_t toTim Peters-1/+1
2004-08-27PyUnicode_Join(): Two primary aims:Tim Peters-40/+120
2004-08-04SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang-67/+0
2004-07-23Let u'%s' % obj try obj.__unicode__() first and fallback to obj.__str__().Marc-André Lemburg-10/+12
2004-07-15Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin-4/+0
2004-07-10Fix a copy&paste typo.Marc-André Lemburg-1/+1
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-5/+95
2004-06-17Fixed end-of-loop code not reached warning when using SunPro CNicholas Bastin-0/+4
2004-06-02- SF #962502: Add two more methods for unicode type; width() andHye-Shik Chang-1/+68
2004-04-06SF Patch #926375: Remove a useless UTF-16 support code that is neverHye-Shik Chang-18/+3
2004-02-05Fix reallocation bug in unicode.translate(): The code was comparingWalter Dörwald-1/+1
2004-01-03Cosmetic fix for wrongly indented tabs with ts=4.Hye-Shik Chang-8/+8
2003-12-23Fix unicode.rsplit()'s bug that ignores separater on the end of string whenHye-Shik Chang-1/+1
2003-12-22Fix broken xmlcharrefreplace by rev 2.204.Hye-Shik Chang-3/+3
2003-12-19SF #859573: Reduce compiler warnings on gcc 3.2 and above.Hye-Shik Chang-1/+14
2003-12-15Add rsplit method for str and unicode builtin types.Hye-Shik Chang-1/+191
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/+45
2003-10-24Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().Walter Dörwald-19/+20
2003-10-18Patch #825679: Clarify semantics of .isfoo on empty strings.Martin v. Löwis-10/+11
2003-10-06Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.Jeremy Hylton-1/+1
2003-09-16On c.l.py, Martin v. Löwis said that Py_UNICODE could be of a signed type,Tim Peters-137/+145
2003-09-16Double-fix of crash in Unicode freelist handling.Jeremy Hylton-2/+7
2003-09-16Change checks of PyUnicode_Resize() return value for clarity.Jeremy Hylton-18/+17
2003-08-27SF bug #795506: Wrong handling of string format code for float values.Raymond Hettinger-0/+3
2003-08-15Fix refcounting leak in charmaptranslate_lookup()Walter Dörwald-0/+1
2003-08-15Fix another refcounting leak in PyUnicode_EncodeCharmap().Walter Dörwald-1/+3
2003-08-15Fix another refcounting leak (in PyUnicode_DecodeUnicodeEscape()).Walter Dörwald-0/+2
2003-08-14Fix refcount leak in PyUnicode_EncodeCharmap(). The bug surfacesWalter Dörwald-3/+3
2003-07-01Support 'mbcs' as a 'built-in' encoding, so the C API can use it withoutMark Hammond-0/+19
2003-06-28SF patch 703666: Several objects don't decref tmp on failure in subtype_newRaymond Hettinger-1/+4
2003-05-18Consider \U-escapes in raw-unicode-escape. Fixes #444514.Martin v. Löwis-3/+42
2003-04-10Attempt to make all the various string *strip methods the same.Neal Norwitz-9/+9
2003-04-09Reformat a few docstrings that caused line wraps in help() output.Guido van Rossum-6/+6
2003-04-02Change formatchar(), so that u"%c" % 0xffffffff now raisesWalter Dörwald-2/+2
2003-03-09Sf patch #700047: unicode object leaks refcount on resizingRaymond Hettinger-0/+1
2003-02-11Add more missing PyErr_NoMemory() after failled memory allocsNeal Norwitz-1/+1
2003-02-09Fix two refcounting bugsWalter Dörwald-2/+4
2003-01-31Change the treatment of positions returned by PEP293Walter Dörwald-9/+17
2003-01-29Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum-0/+9
2003-01-08Fix charmapencode_lookup(), so that a None value in the mappingWalter Dörwald-0/+2