• Barry Warsaw's avatar
    Removed obsolete exception PyExc_AccessError. · 757af0e7
    Barry Warsaw yazdı
    Added PyErr_MemoryErrorInst to hold the pre-instantiated instance when
    using class based exceptions.
    
    Simplified the creation of all built-in exceptions, both class based
    and string based.  Actually, for class based exceptions, the string
    ones are still created just in case there's a problem creating the
    class based ones (so you still get *some* exception handling!).  Now
    the init and fini functions run through a list of structure elements,
    creating the strings (and optionally classes) for every entry.
    
    initerrors(): the new base class exceptions StandardError,
    LookupError, and NumberError are initialized when using string
    exceptions, to tuples containing the list of derived string
    exceptions.  This GvR trick enables forward compatibility!  One bit of
    nastiness is that the C code has to know the inheritance tree embodied
    in exceptions.py.
    
    Added the two phase init and fini functions.
    757af0e7
Adı
Son kayıt (commit)
Son güncelleme
..
Makefile.in Loading commit data...
atof.c Loading commit data...
bltinmodule.c Loading commit data...
ceval.c Loading commit data...
compile.c Loading commit data...
dup2.c Loading commit data...
errors.c Loading commit data...
fmod.c Loading commit data...
frozen.c Loading commit data...
frozenmain.c Loading commit data...
getargs.c Loading commit data...
getcompiler.c Loading commit data...
getcopyright.c Loading commit data...
getcwd.c Loading commit data...
getmtime.c Loading commit data...
getopt.c Loading commit data...
getplatform.c Loading commit data...
getversion.c Loading commit data...
graminit.c Loading commit data...
hypot.c Loading commit data...
import.c Loading commit data...
importdl.c Loading commit data...
importdl.h Loading commit data...
marshal.c Loading commit data...
memmove.c Loading commit data...
modsupport.c Loading commit data...
mystrtoul.c Loading commit data...
pyfpe.c Loading commit data...
pystate.c Loading commit data...
pythonmain.c Loading commit data...
pythonrun.c Loading commit data...
sigcheck.c Loading commit data...
strdup.c Loading commit data...
strerror.c Loading commit data...
strtod.c Loading commit data...
structmember.c Loading commit data...
sysmodule.c Loading commit data...
thread.c Loading commit data...
thread_cthread.h Loading commit data...
thread_foobar.h Loading commit data...
thread_lwp.h Loading commit data...
thread_nt.h Loading commit data...
thread_os2.h Loading commit data...
thread_pthread.h Loading commit data...
thread_sgi.h Loading commit data...
thread_solaris.h Loading commit data...
traceback.c Loading commit data...