cpython/Objects
Walter Dörwald d2034310d6 Add 'U'/'U#' format characters to Py_BuildValue (and thus
to PyObject_CallFunction()) that take a char * (and a size
in the case of 'U#') and create a unicode object out of it.

Add functions PyUnicode_FromFormat() and PyUnicode_FromFormatV()
that work similar to PyString_FromFormat(), but create a unicode
object (also a %U format character has been added, that takes
a PyObject *, which must point to a unicode object).

Change the encoding and reason attributes of UnicodeEncodeError,
UnicodeDecodeError and UnicodeTranslateError to be unicode
objects.
2007-05-18 16:29:38 +00:00
..
stringlib Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
abstract.c Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 2007-05-03 17:49:24 +00:00
boolobject.c Merged the int/long unification branch, by very crude means (sorry Thomas!). 2007-01-14 03:31:43 +00:00
bufferobject.c Kill two innocuous compiler warnings. 2007-05-15 20:37:11 +00:00
bytesobject.c The NULL pointer for empty strings turns out to be a pain. 2007-05-09 23:36:14 +00:00
cellobject.c Restructure comparison dramatically. There is no longer a default 2006-08-24 00:41:19 +00:00
classobject.c Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
cobject.c Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
codeobject.c Jiwon Seo's PEP 3102 implementation. 2006-10-27 23:31:49 +00:00
complexobject.c Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 2007-05-03 17:49:24 +00:00
descrobject.c Get rid of dict.has_key(). Boy this has a lot of repercussions! 2006-08-18 22:13:04 +00:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
enumobject.c Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
exceptions.c Add 'U'/'U#' format characters to Py_BuildValue (and thus 2007-05-18 16:29:38 +00:00
fileobject.c Merged revisions 55270-55324 via svnmerge from 2007-05-14 22:03:55 +00:00
floatobject.c Make tset_float pass. float(<unicode>) was never very good -- it used 2007-05-15 20:43:51 +00:00
frameobject.c Merged revisions 55270-55324 via svnmerge from 2007-05-14 22:03:55 +00:00
funcobject.c Make test_new pass. 2007-05-17 21:15:39 +00:00
genobject.c Quite a few fixes to make the library and test suite more robust when 2006-08-17 20:24:18 +00:00
intobject.c Add what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC() 2007-05-15 20:39:12 +00:00
iterobject.c Remove bogus INCREF of ziptuple: it is a 2007-02-06 21:30:59 +00:00
listobject.c Merged revisions 53875-53911 via svnmerge from 2007-02-25 20:39:11 +00:00
listsort.txt Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
longobject.c Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 2007-05-03 17:49:24 +00:00
methodobject.c Merged revisions 55270-55324 via svnmerge from 2007-05-14 22:03:55 +00:00
moduleobject.c Kill two innocuous compiler warnings. 2007-05-15 20:37:11 +00:00
object.c Simplify PyObject_Unicode(NULL) by using 2007-05-11 17:25:52 +00:00
obmalloc.c Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
rangeobject.c Merged revisions 55180-55183 via svnmerge from 2007-05-08 15:18:31 +00:00
setobject.c Merged revisions 55228 via svnmerge from 2007-05-10 17:35:11 +00:00
sliceobject.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
stringobject.c Merged revisions 55342-55406 via svnmerge from 2007-05-17 18:20:34 +00:00
structseq.c Merge current trunk into p3yk. This includes the PyNumber_Index API change, 2006-08-21 19:07:27 +00:00
tupleobject.c Merged revisions 53875-53911 via svnmerge from 2007-02-25 20:39:11 +00:00
typeobject.c Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
unicodectype.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
unicodeobject.c Add 'U'/'U#' format characters to Py_BuildValue (and thus 2007-05-18 16:29:38 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c Merged revisions 53451-53537 via svnmerge from 2007-02-01 18:02:27 +00:00