cpython/Python
Martin v. Löwis 5b222135f8 Make identifiers str (not str8) objects throughout.
This affects the parser, various object implementations,
and all places that put identifiers into C string literals.

In testing, a number of crashes occurred as code would
fail when the recursion limit was reached (such as the
Unicode interning dictionary having key/value pairs where
key is not value). To solve these, I added an overflowed
flag, which allows for 50 more recursions after the
limit was reached and the exception was raised, and
a recursion_critical flag, which indicates that recursion
absolutely must be allowed, i.e. that a certain call
must not cause a stack overflow exception.

There are still some places where both str and str8 are
accepted as identifiers; these should eventually be
removed.
2007-06-10 09:51:05 +00:00
..
Python-ast.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +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 Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
atof.c
bltinmodule.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
ceval.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
codecs.c Change PyErr_Format() to generate a unicode string (by using 2007-05-25 15:46:59 +00:00
compile.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
dup2.c
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c
dynload_beos.c
dynload_dl.c
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
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
dynload_win.c Merged revisions 55631-55794 via svnmerge from 2007-06-06 23:52:48 +00:00
errors.c Change PyErr_Format() to generate a unicode string (by using 2007-05-25 15:46:59 +00:00
frozen.c Fix test_frozen. 2007-02-09 23:27:01 +00:00
frozenmain.c
future.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
getargs.c Be more robust around bytes for e[st]#? formats. 2007-05-09 23:35:09 +00:00
getcompiler.c
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
getversion.c
graminit.c Merged revisions 55631-55794 via svnmerge from 2007-06-06 23:52:48 +00:00
hypot.c
import.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
importdl.c
importdl.h
mactoolboxglue.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
marshal.c Merged revisions 55407-55513 via svnmerge from 2007-05-22 18:11:13 +00:00
memmove.c
modsupport.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
mysnprintf.c
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
pystate.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
pystrtod.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pythonrun.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
sigcheck.c
strdup.c
strerror.c
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 Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
sysmodule.c Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
thread.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
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
thread_pthread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
thread_sgi.h
thread_solaris.h
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