cpython/Include
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.h Merged revisions 55328-55341 via svnmerge from 2007-05-15 18:46:22 +00:00
Python.h Cruft removal: 2006-12-28 04:47:50 +00:00
abstract.h - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; 2007-02-11 06:12:03 +00:00
asdl.h Whoops, fix build breakage. There were still a few uses of the bool type. 2007-02-26 19:14:12 +00:00
ast.h Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines, 2005-12-17 20:54:49 +00:00
bitset.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
boolobject.h Merged the int/long unification branch, by very crude means (sorry Thomas!). 2007-01-14 03:31:43 +00:00
bufferobject.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
bytesobject.h Rough and dirty job -- allow concatenation of bytes and arbitrary 2007-04-13 01:39:34 +00:00
cStringIO.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
cellobject.h Wrote down the invariants of some common objects whose structure is 2004-10-28 16:32:00 +00:00
ceval.h Merged revisions 55270-55324 via svnmerge from 2007-05-14 22:03:55 +00:00
classobject.h Completely get rid of PyClass and PyInstance. 2006-08-17 05:42:55 +00:00
cobject.h Make CObjects mutable. Fixes #477441. 2003-10-19 18:30:01 +00:00
code.h Jiwon Seo's PEP 3102 implementation. 2006-10-27 23:31:49 +00:00
codecs.h Merge part of the trunk changes into the p3yk branch. This merges from 43030 2006-04-21 09:43:23 +00:00
compile.h Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
complexobject.h SF # 607253, header file problems by Ralf W. Grosse-Kunstleve 2002-10-04 12:43:02 +00:00
datetime.h Add missing backslash for PyDateTimeAPI->Delta_FromDelta() macro. 2004-06-28 00:48:30 +00:00
descrobject.h SF 548651: Fix the METH_CLASS implementation. 2002-12-09 22:56:13 +00:00
dictobject.h Merged revisions 53875-53911 via svnmerge from 2007-02-25 20:39:11 +00:00
enumobject.h Implement and apply PEP 322, reverse iteration 2003-11-06 14:06:48 +00:00
errcode.h Patch #802188: better parser error message for non-EOL following line cont. 2005-03-03 11:45:45 +00:00
eval.h Jiwon Seo's PEP 3102 implementation. 2006-10-27 23:31:49 +00:00
fileobject.h Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
floatobject.h Remove the deprecated and useless "pend" argument from 2007-03-18 18:35:15 +00:00
frameobject.h Merged revisions 55270-55324 via svnmerge from 2007-05-14 22:03:55 +00:00
funcobject.h PEP 3107 - Function Annotations thanks to Tony Lownds 2006-12-28 06:47:50 +00:00
genobject.h Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
graminit.h Merged revisions 55328-55341 via svnmerge from 2007-05-15 18:46:22 +00:00
grammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
import.h Merge current trunk into p3yk. This includes the PyNumber_Index API change, 2006-08-21 19:07:27 +00:00
intobject.h Merged revisions 55342-55406 via svnmerge from 2007-05-17 18:20:34 +00:00
intrcheck.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
iterobject.h SF patch 1546297 (with some tweaks): 2006-08-25 23:26:40 +00:00
listobject.h Merged revisions 53875-53911 via svnmerge from 2007-02-25 20:39:11 +00:00
longintrepr.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
longobject.h Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 2007-05-03 17:49:24 +00:00
marshal.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
metagrammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
methodobject.h Completely get rid of PyClass and PyInstance. 2006-08-17 05:42:55 +00:00
modsupport.h Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
moduleobject.h Add const to several API functions that take char *. 2005-12-10 18:50:16 +00:00
node.h Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
object.h Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 2007-05-18 17:15:44 +00:00
objimpl.h Get rid of most of the flags (in tp_flags) that keep track of various 2006-07-27 21:53:35 +00:00
opcode.h Merged revisions 55225-55227,55229-55269 via svnmerge from 2007-05-11 16:50:42 +00:00
osdefs.h Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
parsetok.h Checkpoint. 218 tests are okay; 53 are failing. Done so far: 2006-03-15 04:58:47 +00:00
patchlevel.h This gets at least test_cmd_line working again and a few more modules built. 2006-03-17 08:27:50 +00:00
pgen.h Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to 2003-04-17 14:55:42 +00:00
pgenheaders.h Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 2002-09-15 14:09:54 +00:00
py_curses.h FreeBSD 5.x uses different wchar_t/win_t guards than earlier versions 2003-06-29 15:46:21 +00:00
pyarena.h Added words about what PyArena_Malloc() does. 2006-03-02 21:14:45 +00:00
pydebug.h Checkpoint. Manipulated things so that string literals are always 2007-04-27 23:53:51 +00:00
pyerrors.h Merged revisions 55342-55406 via svnmerge from 2007-05-17 18:20:34 +00:00
pyexpat.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.h Some patches to Lee Busby's fpectl mods that accidentally didn't make it 1997-10-20 23:50:01 +00:00
pygetopt.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
pymactoolbox.h SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core 2004-11-05 07:02:59 +00:00
pymem.h Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
pyport.h Cruft removal: 2006-12-28 04:47:50 +00:00
pystate.h Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
pystrtod.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
pythonrun.h Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API. 2007-03-21 02:57:17 +00:00
pythread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
rangeobject.h Remove PyRange_New(). 2004-12-03 11:45:13 +00:00
setobject.h Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
sliceobject.h Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
stringobject.h Merged revisions 53875-53911 via svnmerge from 2007-02-25 20:39:11 +00:00
structmember.h Completely get rid of PyClass and PyInstance. 2006-08-17 05:42:55 +00:00
structseq.h Clean up some whitespace to be consistent with Python's C style. 2002-10-17 19:48:27 +00:00
symtable.h Hide list comp variables and support set comprehensions 2007-04-15 12:05:43 +00:00
sysmodule.h Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 2002-09-15 14:09:54 +00:00
timefuncs.h Bug 975996: Add _PyTime_DoubleToTimet to C API 2004-06-20 02:50:16 +00:00
token.h Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ." for Ellipsis. 2007-03-18 19:01:53 +00:00
traceback.h Moved tracebackobject to traceback.h, Closes SF Bug #497067 2004-03-21 18:37:23 +00:00
tupleobject.h Merged revisions 53875-53911 via svnmerge from 2007-02-25 20:39:11 +00:00
ucnhash.h Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
unicodeobject.h Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 2007-05-18 17:15:44 +00:00
weakrefobject.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00