Staging
v0.5.1
https://github.com/python/cpython
Revision ef582abab461e306ac3fa0ad867b2db564fed3a5 authored by Guido van Rossum on 10 April 2003, 20:30:18 UTC, committed by Guido van Rossum on 10 April 2003, 20:30:18 UTC
PyErr_NormalizeException(): in the type==NULL test, we should simply
return.  Setting an exception can mess with the exception state, and
continuing is definitely wrong (since type is dereferenced later on).
Some code that calls this seems to be prepared for a NULL exception
type, so let's be safe rather than sorry and simply assume there's
nothing to normalize in this case.
1 parent d065a13
History
Tip revision: ef582abab461e306ac3fa0ad867b2db564fed3a5 authored by Guido van Rossum on 10 April 2003, 20:30:18 UTC
Backport:
Tip revision: ef582ab
File Mode Size
.cvsignore -rw-r--r-- 17 bytes
atof.c -rw-r--r-- 815 bytes
bltinmodule.c -rw-r--r-- 46.0 KB
ceval.c -rw-r--r-- 83.7 KB
codecs.c -rw-r--r-- 9.8 KB
compile.c -rw-r--r-- 126.5 KB
dup2.c -rw-r--r-- 685 bytes
dynload_aix.c -rw-r--r-- 5.3 KB
dynload_beos.c -rw-r--r-- 6.3 KB
dynload_dl.c -rw-r--r-- 561 bytes
dynload_hpux.c -rw-r--r-- 1.3 KB
dynload_mac.c -rw-r--r-- 3.3 KB
dynload_next.c -rw-r--r-- 4.8 KB
dynload_os2.c -rw-r--r-- 1020 bytes
dynload_shlib.c -rw-r--r-- 2.1 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 7.5 KB
errors.c -rw-r--r-- 14.6 KB
exceptions.c -rw-r--r-- 30.0 KB
fmod.c -rw-r--r-- 435 bytes
frozen.c -rw-r--r-- 1.2 KB
frozenmain.c -rw-r--r-- 1.3 KB
future.c -rw-r--r-- 6.0 KB
getargs.c -rw-r--r-- 32.9 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 504 bytes
getcwd.c -rw-r--r-- 1.3 KB
getmtime.c -rw-r--r-- 318 bytes
getopt.c -rw-r--r-- 2.3 KB
getplatform.c -rw-r--r-- 130 bytes
getversion.c -rw-r--r-- 290 bytes
graminit.c -rw-r--r-- 29.5 KB
hypot.c -rw-r--r-- 282 bytes
import.c -rw-r--r-- 61.9 KB
importdl.c -rw-r--r-- 2.0 KB
importdl.h -rw-r--r-- 951 bytes
mactoolboxglue.c -rw-r--r-- 13.9 KB
marshal.c -rw-r--r-- 17.9 KB
memmove.c -rw-r--r-- 439 bytes
modsupport.c -rw-r--r-- 10.0 KB
mysnprintf.c -rw-r--r-- 2.6 KB
mystrtoul.c -rw-r--r-- 3.1 KB
pyfpe.c -rw-r--r-- 623 bytes
pystate.c -rw-r--r-- 6.5 KB
pythonrun.c -rw-r--r-- 33.5 KB
sigcheck.c -rw-r--r-- 529 bytes
strdup.c -rw-r--r-- 256 bytes
strerror.c -rw-r--r-- 485 bytes
strtod.c -rw-r--r-- 5.1 KB
structmember.c -rw-r--r-- 5.5 KB
symtable.c -rw-r--r-- 4.4 KB
sysmodule.c -rw-r--r-- 28.0 KB
thread.c -rw-r--r-- 2.3 KB
thread_beos.h -rw-r--r-- 7.5 KB
thread_cthread.h -rw-r--r-- 3.6 KB
thread_foobar.h -rw-r--r-- 2.5 KB
thread_lwp.h -rw-r--r-- 3.8 KB
thread_nt.h -rw-r--r-- 9.6 KB
thread_os2.h -rw-r--r-- 4.5 KB
thread_pth.h -rw-r--r-- 7.1 KB
thread_pthread.h -rw-r--r-- 12.3 KB
thread_sgi.h -rw-r--r-- 11.8 KB
thread_solaris.h -rw-r--r-- 4.3 KB
thread_wince.h -rw-r--r-- 4.0 KB
traceback.c -rw-r--r-- 6.5 KB

back to top