cpython/Python
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror
PyString_Concat() and PyString_ConcatAndDel() (the name PyUnicode_Concat()
was already taken).

Change PyObject_Repr() to always return a unicode object.

Update all repr implementations to return unicode objects.

Add a function PyObject_ReprStr8() that calls PyObject_Repr() and converts
the result to an 8bit string.

Use PyObject_ReprStr8() where using PyObject_Repr() can't be done
straightforward.
2007-05-18 17:15:44 +00:00
..
Python-ast.c Obsubmit. 2007-05-15 20:34:04 +00:00
asdl.c Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
ast.c Merged revisions 55328-55341 via svnmerge from 2007-05-15 18:46:22 +00:00
atof.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
bltinmodule.c It's ok for __hex__ or __oct__ to return unicode. 2007-05-15 21:32:59 +00:00
ceval.c Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
codecs.c Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 2007-05-03 17:49:24 +00:00
compile.c Merged revisions 55328-55341 via svnmerge from 2007-05-15 18:46:22 +00:00
dup2.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00
dynload_beos.c Fix for 2002-01-23 15:51:12 +00:00
dynload_dl.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_hpux.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
dynload_next.c Fix for 838140: don't call NSUnlinkModule when we fail to find our 2004-07-15 22:28:48 +00:00
dynload_os2.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_shlib.c Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
dynload_stub.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dynload_win.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
errors.c Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 2007-05-18 17:15:44 +00:00
frozen.c Fix test_frozen. 2007-02-09 23:27:01 +00:00
frozenmain.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
future.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
getargs.c Be more robust around bytes for e[st]#? formats. 2007-05-09 23:35:09 +00:00
getcompiler.c The GCC version is loooooooooong; put it on a new line. 2000-09-05 04:40:39 +00:00
getcopyright.c Merged revisions 53005-53303 via svnmerge from 2007-01-09 23:18:33 +00:00
getcwd.c Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
getmtime.c Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
getopt.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
getplatform.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
getversion.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
graminit.c Merged revisions 55328-55341 via svnmerge from 2007-05-15 18:46:22 +00:00
hypot.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
import.c More uniform approach to getting (UTF8) bytes out of a string. 2007-05-09 23:29:27 +00:00
importdl.c Patch #794826: Add __file__ in dynamically loaded modules for multiple 2003-09-04 18:45:59 +00:00
importdl.h PEP 302 + zipimport: 2002-12-30 22:08:05 +00:00
mactoolboxglue.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
marshal.c Merged revisions 55270-55324 via svnmerge from 2007-05-14 22:03:55 +00:00
memmove.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
modsupport.c Add 'U'/'U#' format characters to Py_BuildValue (and thus 2007-05-18 16:29:38 +00:00
mysnprintf.c PyOS_vsnprintf(): Change PyMem_Malloc() call to PyMem_MALLOC() macro, 2001-12-21 16:32:15 +00:00
mystrtoul.c Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
peephole.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
pyarena.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
pystate.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
pystrtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pythonrun.c Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 2007-05-03 17:49:24 +00:00
sigcheck.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
strdup.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
strerror.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
strtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
structmember.c Merged revisions 55270-55324 via svnmerge from 2007-05-14 22:03:55 +00:00
symtable.c Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 2007-05-18 17:15:44 +00:00
sysmodule.c Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 2007-05-03 17:49:24 +00:00
thread.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_atheos.h Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00
thread_beos.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_cthread.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_foobar.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_lwp.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_nt.h Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
thread_os2.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_pth.h Patch #805613: Fix usage of the PTH library. 2003-09-20 11:13:36 +00:00
thread_pthread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_sgi.h Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld 2004-01-17 04:04:13 +00:00
thread_solaris.h Patch #716969: Detect thread creation failure. Will backport to 2.2. 2003-04-19 07:44:52 +00:00
thread_wince.h bug 1234979 addition 2005-07-09 15:26:33 +00:00
traceback.c Merged revisions 53451-53537 via svnmerge from 2007-02-01 18:02:27 +00:00