summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
AgeCommit message (Expand)AuthorLines
2001-08-30Make unicode subclassable.Guido van Rossum-2/+32
2001-08-16Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis-116/+60
2001-08-09SF patch #438013 Remove 2-byte Py_UCS2 assumptionsTim Peters-76/+90
2001-08-02Merge of descr-branch back into trunk.Tim Peters-9/+45
2001-07-30Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.Jeremy Hylton-14/+0
2001-07-25Fix for bug #444493: u'\U00010001' segfaults with current CVS onMarc-André Lemburg-6/+21
2001-07-20Make the unicode-escape and the UTF-16 codecs handle surrogatesMarc-André Lemburg-24/+46
2001-07-20#ifdef out generation of \U escapes unless Py_UNICODE_WIDE. ThisGuido van Rossum-0/+2
2001-06-27use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZEFredrik Lundh-4/+4
2001-06-27Encode surrogates in UTF-8 even for a wide Py_UNICODE.Martin v. Löwis-7/+12
2001-06-26When decoding UTF-16, don't assume that the buffer is in native endiannessMartin v. Löwis-4/+4
2001-06-26Support using UCS-4 as the Py_UNICODE type:Martin v. Löwis-30/+89
2001-06-26experimental UCS-4 support: added USE_UCS4_STORAGE define toFredrik Lundh-0/+2
2001-06-26experimental UCS-4 support: made compare a bit more robust, in caseFredrik Lundh-11/+14
2001-06-26experimental UCS-4 support: don't assume that MS_WIN32 impliesFredrik Lundh-2/+2
2001-06-14Fix a mis-indentation in _PyUnicode_New() that caused me to stare atGuido van Rossum-3/+3
2001-06-07Fixes [ #430986 ] Buglet in PyUnicode_FromUnicode.Marc-André Lemburg-1/+1
2001-05-29fix bogus indentationJeremy Hylton-1/+1
2001-05-21This patch changes the behaviour of the UTF-16 codec family. Only theMarc-André Lemburg-17/+25
2001-05-08Remove unused variableJeremy Hylton-1/+0
2001-05-05Make unicode.join() work nice with iterators. This also required a changeTim Peters-11/+15
2001-04-28A different approach to the problem reported inTim Peters-4/+15
2001-04-23This patch originated from an idea by Martin v. Loewis who submitted aMarc-André Lemburg-51/+133
2001-04-21SF but #417587: compiler warnings compiling 2.1.Tim Peters-3/+0
2001-04-19CVS patch 416248: 2.1c1 unicodeobject: unused vrbl cleanup, from Mark Favas.Tim Peters-2/+0
2001-04-19Revert previous checkin, which caused test_unicodedata to fail.Jeremy Hylton-33/+0
2001-04-18Patch #416953: Cache ASCII characters to speed up ASCII decoding.Martin v. Löwis-0/+33
2001-04-12Bug 415514 reported that e.g.Tim Peters-13/+19
2001-04-12Fix for SF bug #415514: "%#x" % 0 caused assertion failure/abort.Tim Peters-11/+12
2001-02-18reorganized PyUnicode_DecodeUnicodeEscape a bit (in order to make itFredrik Lundh-110/+69
2001-01-29Fixed .capitalize() method of Unicode objects to work like theMarc-André Lemburg-4/+18
2001-01-24Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee-6/+19
2001-01-24Move uchhash functionality into unicodedata (after the recentFredrik Lundh-9/+11
2001-01-20Better error message if ucnhash cannot be found (obscure attributeFredrik Lundh-3/+8
2001-01-19refactored the unicodeobject/ucnhash interface, to hide theFredrik Lundh-101/+37
2001-01-17This patch adds a new builtin unistr() which behaves like str()Marc-André Lemburg-0/+1
2001-01-16Added checks to prevent PyUnicode_Count() from dumping coreMarc-André Lemburg-8/+19
2001-01-06This patch adds a new feature to the builtin charmap codec:Marc-André Lemburg-8/+48
2001-01-03This patch changes the default behaviour of the builtin charmapMarc-André Lemburg-13/+8
2000-12-19Patch #102940: use only printable Unicode chars in reportingAndrew M. Kuchling-1/+2
2000-12-19Fix off-by-one error in split_substring(). Fixes SF bug #122162.Guido van Rossum-1/+1
2000-12-15[ Patch #102852 ] Make % error a bit more informative by indicates theAndrew M. Kuchling-2/+3
2000-11-30Fox for SF bug #123859: %[duxXo] long formats inconsistent.Tim Peters-3/+1
2000-10-03_PyUnicode_Fini(): Initialize the local freelist walking variable `u'Barry Warsaw-2/+3
2000-10-03In _PyUnicode_Fini(), decref unicode_empty before tearng down the freeGuido van Rossum-2/+2
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-6/+0
2000-09-21Derived from Martin's SF patch 110609: support unbounded ints in %d,i,u,x,X,...Tim Peters-24/+68
2000-09-09Fix for bug 113934. string*n and unicode*n did no overflow checking atTim Peters-2/+19
2000-09-03changed \x to consume exactly two hex digits, also for unicodeFredrik Lundh-55/+66
2000-08-18PyUnicode_AsUTF8String(): /F picks up what I missed: the local varBarry Warsaw-2/+0